Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy new PE related changes #116

Merged
merged 5 commits into from Apr 26, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions .fixtures.yml
@@ -1,9 +1,6 @@
# Fixtures needed for puppetlabs_spec_helper
fixtures:
repositories:
r10k:
repo: 'git://github.com/acidprime/r10k.git'
ref: 'v1.0.2'
yamlfile:
repo: 'git://github.com/reidmv/puppet-module-yamlfile.git'
filemapper:
Expand All @@ -28,6 +25,9 @@ fixtures:
stdlib:
repo: 'puppetlabs/stdlib'
ref: '4.1.0'
r10k:
repo: 'zack/r10k'
ref: '2.7.3'
ruby:
repo: 'puppetlabs/ruby'
ref: '0.2.0'
Expand Down
2 changes: 1 addition & 1 deletion Puppetfile
@@ -1,7 +1,7 @@
forge "http://forge.puppetlabs.com"

# Install and manage r10k
mod "zack/r10k", '1.0.2'
mod "zack/r10k", '2.7.3'

# Deps for zack/r10k
# We are tracking stdlib from git because the puppet module tool
Expand Down
15 changes: 9 additions & 6 deletions dist/profile/manifests/puppetmaster.pp
Expand Up @@ -14,10 +14,7 @@
group => 'root',
mode => '0644',
source => "puppet:///modules/${module_name}/hiera.yaml",
# The `pe-httpd` service resource is defined in the Puppet master catalog
# itself (due to classification in PE Console), therefore you won't find
# any declaration of that resource in this codebase
notify => Service['pe-httpd'],
notify => Service['pe-puppetserver'],

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe update comment before?

}

## Ensure we're setting the right SMTP server. The Puppetmaster is located in
Expand All @@ -27,7 +24,7 @@
target => '/etc/puppetlabs/console-auth/config.yml',
key => 'smtp/address',
value => 'smtp.osuosl.org',
notify => Service['pe-httpd'],
notify => Service['pe-puppetserver'],
}


Expand All @@ -37,7 +34,7 @@
section => 'master',
setting => 'reports',
value => 'console,puppetdb,irc',
notify => Service['pe-httpd'],
notify => Service['pe-puppetserver'],
}

firewall { '010 allow dashboard traffic':
Expand All @@ -57,4 +54,10 @@
port => 8140,
action => 'accept',
}

service { 'pe-puppetserver':
ensure => running,
hasrestart => true,
hasstatus => true,
}
}