forked from voxpupuli/puppet-iis
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of git://github.com/opentable/puppet-iis
Conflicts: Modulefile manifests/manage_binding.pp
- Loading branch information
Showing
22 changed files
with
253 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
fixtures: | ||
repositories: | ||
stdlib: git://github.com/puppetlabs/puppetlabs-stdlib.git | ||
stdlib: https://github.com/puppetlabs/puppetlabs-stdlib | ||
symlinks: | ||
iis: "#{source_dir}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
.*.sw? | ||
pkg | ||
spec/fixtures | ||
.rspec_system | ||
.vagrant | ||
*.iml | ||
Gemfile.lock | ||
/.idea/* | ||
.idea/ | ||
.bundle/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ruby-2.0.0-p247 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,25 @@ | ||
--- | ||
language: ruby | ||
bundler_args: --without development | ||
before_install: rm Gemfile.lock || true | ||
rvm: | ||
- 1.9.3 | ||
script: bundle exec rake spec | ||
- 1.8.7 | ||
- 1.9.3 | ||
- 2.0.0 | ||
script: bundle exec rake test | ||
env: | ||
matrix: | ||
- PUPPET_VERSION=3.1.0 | ||
- PUPPET_VERSION="2.7.25" | ||
- PUPPET_VERSION="3.3.0" | ||
- PUPPET_VERSION="3.1.0" | ||
- PUPPET_VERSION="3.2.1" | ||
- PUPPET_VERSION="3.3.0" | ||
- PUPPET_VERSION="3.4.0" | ||
- PUPPET_VERSION="3.5.1" | ||
- PUPPET_VERSION="3.6.0" | ||
matrix: | ||
exclude: | ||
- rvm: 2.0.0 | ||
env: PUPPET_VERSION="2.7.25" | ||
- rvm: 2.0.0 | ||
env: PUPPET_VERSION="3.0.0" | ||
- rvm: 2.0.0 | ||
env: PUPPET_VERSION="3.1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,21 @@ | ||
# A sample Gemfile | ||
source "http://rubygems.org" | ||
|
||
gem 'puppet-lint' | ||
gem 'test-unit' | ||
gem 'rake' | ||
gem 'rspec', '2.13.0' | ||
gem 'rspec-core', '2.13.1' | ||
gem 'rspec-expectations', '2.13.0' | ||
gem 'rspec-mocks', '2.13.1' | ||
gem 'puppet', '3.2.1' | ||
gem 'rspec-puppet', '0.1.6' | ||
gem 'puppetlabs_spec_helper', '0.4.1' | ||
group :test do | ||
gem "rake" | ||
gem "puppet", ENV['PUPPET_VERSION'] || '~> 3.4.0' | ||
gem "puppet-lint" | ||
gem "rspec-puppet", :git => 'https://github.com/rodjek/rspec-puppet.git' | ||
gem "puppet-syntax" | ||
gem "puppetlabs_spec_helper", "0.4.1" | ||
gem "rspec", "2.99.0" | ||
end | ||
|
||
group :development do | ||
gem "travis" | ||
gem "travis-lint" | ||
gem "beaker" | ||
gem "beaker-rspec" | ||
gem "vagrant-wrapper" | ||
gem "puppet-blacksmith" | ||
gem "guard-rake" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
name 'opentable/iis' | ||
version '0.0.2' | ||
version '1.1.1' | ||
author 'opentable' | ||
license 'MIT' | ||
summary 'Module that will manage IIS for windows server 2008 and above. It will help maintain application pools, sites and virtual applications' | ||
project_page 'https://github.com/opentable/puppet-iis' | ||
dependency 'puppetlabs/stdlib', '>=3.0.0' | ||
dependency 'joshcooper/powershell', '>=0.0.6' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,42 @@ | ||
require 'rubygems' | ||
require 'puppetlabs_spec_helper/rake_tasks' | ||
require 'puppet-lint' | ||
require 'puppet-lint/tasks/puppet-lint' | ||
require 'puppet-syntax/tasks/puppet-syntax' | ||
|
||
# These two gems aren't always present, for instance | ||
# on Travis with --without development | ||
begin | ||
require 'puppet_blacksmith/rake_tasks' | ||
rescue LoadError | ||
end | ||
|
||
PuppetLint.configuration.send("disable_80chars") | ||
PuppetLint.configuration.send("disable_documentation") | ||
PuppetLint.configuration.log_format = "%{path}:%{linenumber}:%{check}:%{KIND}:%{message}" | ||
PuppetLint.configuration.fail_on_warnings = true | ||
|
||
# Forsake support for Puppet 2.6.2 for the benefit of cleaner code. | ||
# http://puppet-lint.com/checks/class_parameter_defaults/ | ||
PuppetLint.configuration.send('disable_class_parameter_defaults') | ||
# http://puppet-lint.com/checks/class_inherits_from_params_class/ | ||
PuppetLint.configuration.send('disable_class_inherits_from_params_class') | ||
# http://puppet-lint.com/checks/quoted_booleans/ | ||
PuppetLint.configuration.send('disable_quoted_booleans') | ||
|
||
exclude_paths = [ | ||
"pkg/**/*", | ||
"vendor/**/*", | ||
"spec/**/*", | ||
] | ||
PuppetLint.configuration.ignore_paths = exclude_paths | ||
PuppetSyntax.exclude_paths = exclude_paths | ||
|
||
desc "Run acceptance tests" | ||
RSpec::Core::RakeTask.new(:acceptance) do |t| | ||
t.pattern = 'spec/acceptance' | ||
end | ||
|
||
desc "Run syntax, lint, and spec tests." | ||
task :test => [ | ||
:syntax, | ||
:lint, | ||
:spec, | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# | ||
define iis::createpath($site_path = undef) { | ||
include 'iis::param::powershell' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# | ||
class iis { | ||
iis::manage_app_pool {'www.internalapi.co.uk': | ||
enable_32_bit => true, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# | ||
define iis::manage_site_state($site_name, $ensure = 'running') { | ||
include 'iis::param::powershell' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# | ||
class iis::param::powershell { | ||
$executable = 'powershell.exe' | ||
$exec_policy = '-ExecutionPolicy RemoteSigned' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.