forked from ocf/puppet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make octocatalog-diff cache dependent on workspace
Also tweak ocf::privatefile a bit
- Loading branch information
Showing
11 changed files
with
72 additions
and
22 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 |
---|---|---|
|
@@ -13,3 +13,6 @@ | |
|
||
# ignore Puppet resource types | ||
/.resource_types/ | ||
|
||
# ignore octocatalog-diff cache | ||
/.octocatalog-diff-cache |
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
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 |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
'/etc/ldap/schema/puppet.schema', | ||
'/etc/ldap/sasl2/slapd.conf', | ||
'/etc/ldap/slapd.conf'], | ||
Ocf::Privatefile['/etc/ldap/krb5.keytab'], | ||
Augeas['/etc/default/slapd'], | ||
Class['ocf::ssl::default'], | ||
], | ||
|
@@ -44,7 +45,6 @@ | |
group => openldap, | ||
mode => '0600', | ||
require => Package['slapd', 'heimdal-clients'], | ||
notify => Service['slapd'], | ||
} | ||
|
||
augeas { '/etc/default/slapd': | ||
|
@@ -94,7 +94,8 @@ | |
'/var/backups/ldap/.git/hooks/post-commit': | ||
content => "git push -q [email protected]:ocf/ldap master\n", | ||
mode => '0755', | ||
require => Package['ldap-git-backup']; | ||
require => [Package['ldap-git-backup'], | ||
Ocf::Privatefile['/root/.ssh/id_rsa']]; | ||
|
||
'/root/.ssh': | ||
ensure => directory, | ||
|
@@ -109,7 +110,6 @@ | |
ocf::privatefile { '/root/.ssh/id_rsa': | ||
source => 'puppet:///private/id_rsa', | ||
mode => '0600', | ||
before => File['/var/backups/ldap/.git/hooks/post-commit']; | ||
} | ||
} | ||
|
||
|
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