projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move passwords to a different file and enable apache certs
[mirror/dsa-puppet.git]
/
modules
/
puppetmaster
/
manifests
/
init.pp
diff --git
a/modules/puppetmaster/manifests/init.pp
b/modules/puppetmaster/manifests/init.pp
index
1aad49c
..
b60e0b7
100644
(file)
--- a/
modules/puppetmaster/manifests/init.pp
+++ b/
modules/puppetmaster/manifests/init.pp
@@
-1,5
+1,8
@@
class puppetmaster {
class puppetmaster {
+ package { 'puppetmaster':
+ ensure => installed,
+ }
file { '/etc/puppet/hiera.yaml':
source => 'puppet:///modules/puppetmaster/hiera.yaml'
}
file { '/etc/puppet/hiera.yaml':
source => 'puppet:///modules/puppetmaster/hiera.yaml'
}
@@
-13,4
+16,8
@@
class puppetmaster {
description => 'Allow puppet access',
rule => '&SERVICE_RANGE(tcp, 8140, $HOST_DEBIAN_V6)'
}
description => 'Allow puppet access',
rule => '&SERVICE_RANGE(tcp, 8140, $HOST_DEBIAN_V6)'
}
+
+ ssl::service { 'puppet-dashboard.debian.org':
+ notify => Service['apache2'],
+ }
}
}