puppet 7.9.0-x86-mingw32 → 7.10.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of puppet might be problematic. Click here for more details.

Files changed (182) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +6 -6
  3. data/{ext → examples/enc}/regexp_nodes/classes/databases +0 -0
  4. data/{ext → examples/enc}/regexp_nodes/classes/webservers +0 -0
  5. data/{ext → examples/enc}/regexp_nodes/environment/development +0 -0
  6. data/{ext → examples/enc}/regexp_nodes/parameters/service/prod +0 -0
  7. data/{ext → examples/enc}/regexp_nodes/parameters/service/qa +0 -0
  8. data/{ext → examples/enc}/regexp_nodes/parameters/service/sandbox +0 -0
  9. data/{ext → examples/enc}/regexp_nodes/regexp_nodes.rb +0 -0
  10. data/{ext → examples}/nagios/check_puppet.rb +2 -2
  11. data/ext/README.md +13 -0
  12. data/lib/puppet/configurer.rb +155 -46
  13. data/lib/puppet/defaults.rb +51 -26
  14. data/lib/puppet/environments.rb +66 -26
  15. data/lib/puppet/file_serving/configuration.rb +2 -0
  16. data/lib/puppet/file_serving/configuration/parser.rb +2 -0
  17. data/lib/puppet/file_serving/mount/scripts.rb +24 -0
  18. data/lib/puppet/functions/find_template.rb +2 -2
  19. data/lib/puppet/http/service/compiler.rb +6 -1
  20. data/lib/puppet/indirector/catalog/compiler.rb +21 -3
  21. data/lib/puppet/indirector/catalog/rest.rb +1 -0
  22. data/lib/puppet/indirector/terminus.rb +4 -0
  23. data/lib/puppet/module/plan.rb +0 -1
  24. data/lib/puppet/module/task.rb +1 -1
  25. data/lib/puppet/module_tool/applications/installer.rb +8 -4
  26. data/lib/puppet/network/http/api/indirected_routes.rb +1 -1
  27. data/lib/puppet/node/environment.rb +10 -11
  28. data/lib/puppet/pops/serialization/to_data_converter.rb +18 -6
  29. data/lib/puppet/provider/package/pkg.rb +8 -1
  30. data/lib/puppet/provider/service/launchd.rb +1 -1
  31. data/lib/puppet/provider/service/systemd.rb +1 -1
  32. data/lib/puppet/provider/user/useradd.rb +42 -9
  33. data/lib/puppet/transaction/persistence.rb +11 -1
  34. data/lib/puppet/transaction/report.rb +15 -1
  35. data/lib/puppet/type.rb +1 -1
  36. data/lib/puppet/type/exec.rb +10 -1
  37. data/lib/puppet/type/file.rb +6 -6
  38. data/lib/puppet/type/filebucket.rb +2 -2
  39. data/lib/puppet/version.rb +1 -1
  40. data/locales/puppet.pot +134 -94
  41. data/man/man5/puppet.conf.5 +65 -25
  42. data/man/man8/puppet-agent.8 +1 -1
  43. data/man/man8/puppet-apply.8 +1 -1
  44. data/man/man8/puppet-catalog.8 +1 -1
  45. data/man/man8/puppet-config.8 +1 -1
  46. data/man/man8/puppet-describe.8 +1 -1
  47. data/man/man8/puppet-device.8 +1 -1
  48. data/man/man8/puppet-doc.8 +1 -1
  49. data/man/man8/puppet-epp.8 +1 -1
  50. data/man/man8/puppet-facts.8 +1 -1
  51. data/man/man8/puppet-filebucket.8 +1 -1
  52. data/man/man8/puppet-generate.8 +1 -1
  53. data/man/man8/puppet-help.8 +1 -1
  54. data/man/man8/puppet-lookup.8 +1 -1
  55. data/man/man8/puppet-module.8 +3 -3
  56. data/man/man8/puppet-node.8 +1 -1
  57. data/man/man8/puppet-parser.8 +1 -1
  58. data/man/man8/puppet-plugin.8 +1 -1
  59. data/man/man8/puppet-report.8 +1 -1
  60. data/man/man8/puppet-resource.8 +1 -1
  61. data/man/man8/puppet-script.8 +1 -1
  62. data/man/man8/puppet-ssl.8 +1 -1
  63. data/man/man8/puppet.8 +2 -2
  64. data/spec/fixtures/integration/application/agent/lib/facter/agent_spec_role.rb +3 -0
  65. data/spec/fixtures/integration/l10n/envs/prod/modules/demo/Gemfile +4 -0
  66. data/spec/fixtures/integration/l10n/envs/prod/modules/demo/Rakefile +3 -0
  67. data/spec/fixtures/integration/l10n/envs/prod/modules/demo/lib/puppet/functions/l10n.rb +8 -0
  68. data/spec/fixtures/integration/l10n/envs/prod/modules/demo/locales/config.yaml +25 -0
  69. data/spec/fixtures/integration/l10n/envs/prod/modules/demo/locales/ja/puppet-l10n.po +19 -0
  70. data/spec/fixtures/integration/l10n/envs/prod/modules/demo/locales/puppet-l10n.pot +20 -0
  71. data/spec/fixtures/integration/l10n/envs/prod/modules/demo/metadata.json +8 -0
  72. data/spec/integration/application/agent_spec.rb +102 -52
  73. data/spec/integration/application/filebucket_spec.rb +5 -0
  74. data/spec/integration/configurer_spec.rb +17 -1
  75. data/spec/integration/l10n/compiler_spec.rb +37 -0
  76. data/spec/lib/puppet_spec/modules.rb +13 -2
  77. data/spec/lib/puppet_spec/puppetserver.rb +15 -0
  78. data/spec/shared_behaviours/documentation_on_faces.rb +0 -2
  79. data/spec/shared_contexts/l10n.rb +27 -0
  80. data/spec/spec_helper.rb +1 -10
  81. data/spec/unit/configurer_spec.rb +265 -54
  82. data/spec/unit/environments_spec.rb +150 -1
  83. data/spec/unit/file_serving/configuration/parser_spec.rb +23 -0
  84. data/spec/unit/file_serving/configuration_spec.rb +12 -4
  85. data/spec/unit/file_serving/mount/scripts_spec.rb +69 -0
  86. data/spec/unit/functions/logging_spec.rb +1 -0
  87. data/spec/unit/http/service/compiler_spec.rb +8 -0
  88. data/spec/unit/indirector/catalog/compiler_spec.rb +87 -0
  89. data/spec/unit/indirector/catalog/rest_spec.rb +8 -0
  90. data/spec/unit/interface/action_spec.rb +0 -9
  91. data/spec/unit/module_spec.rb +14 -0
  92. data/spec/unit/module_tool/applications/installer_spec.rb +39 -12
  93. data/spec/unit/pops/parser/parse_containers_spec.rb +0 -11
  94. data/spec/unit/pops/serialization/to_from_hr_spec.rb +58 -0
  95. data/spec/unit/provider/package/pkg_spec.rb +19 -5
  96. data/spec/unit/provider/service/launchd_spec.rb +11 -0
  97. data/spec/unit/provider/service/systemd_spec.rb +1 -1
  98. data/spec/unit/provider/user/useradd_spec.rb +3 -2
  99. metadata +34 -94
  100. data/ext/README.environment +0 -8
  101. data/ext/dbfix.sql +0 -132
  102. data/ext/debian/README.Debian +0 -8
  103. data/ext/debian/README.source +0 -2
  104. data/ext/debian/TODO.Debian +0 -1
  105. data/ext/debian/changelog.erb +0 -1122
  106. data/ext/debian/compat +0 -1
  107. data/ext/debian/control +0 -144
  108. data/ext/debian/copyright +0 -339
  109. data/ext/debian/docs +0 -1
  110. data/ext/debian/fileserver.conf +0 -41
  111. data/ext/debian/puppet-common.dirs +0 -13
  112. data/ext/debian/puppet-common.install +0 -3
  113. data/ext/debian/puppet-common.lintian-overrides +0 -5
  114. data/ext/debian/puppet-common.manpages +0 -28
  115. data/ext/debian/puppet-common.postinst +0 -35
  116. data/ext/debian/puppet-common.postrm +0 -33
  117. data/ext/debian/puppet-el.dirs +0 -1
  118. data/ext/debian/puppet-el.emacsen-install +0 -25
  119. data/ext/debian/puppet-el.emacsen-remove +0 -11
  120. data/ext/debian/puppet-el.emacsen-startup +0 -9
  121. data/ext/debian/puppet-el.install +0 -1
  122. data/ext/debian/puppet-testsuite.install +0 -2
  123. data/ext/debian/puppet-testsuite.lintian-overrides +0 -4
  124. data/ext/debian/puppet.lintian-overrides +0 -3
  125. data/ext/debian/puppet.logrotate +0 -20
  126. data/ext/debian/puppet.postinst +0 -20
  127. data/ext/debian/puppet.postrm +0 -20
  128. data/ext/debian/puppet.preinst +0 -20
  129. data/ext/debian/puppetmaster-common.install +0 -2
  130. data/ext/debian/puppetmaster-common.manpages +0 -2
  131. data/ext/debian/puppetmaster-common.postinst +0 -6
  132. data/ext/debian/puppetmaster-passenger.dirs +0 -4
  133. data/ext/debian/puppetmaster-passenger.postinst +0 -162
  134. data/ext/debian/puppetmaster-passenger.postrm +0 -61
  135. data/ext/debian/puppetmaster.README.debian +0 -17
  136. data/ext/debian/puppetmaster.default +0 -14
  137. data/ext/debian/puppetmaster.init +0 -137
  138. data/ext/debian/puppetmaster.lintian-overrides +0 -3
  139. data/ext/debian/puppetmaster.postinst +0 -20
  140. data/ext/debian/puppetmaster.postrm +0 -5
  141. data/ext/debian/puppetmaster.preinst +0 -22
  142. data/ext/debian/rules +0 -132
  143. data/ext/debian/source/format +0 -1
  144. data/ext/debian/source/options +0 -1
  145. data/ext/debian/vim-puppet.README.Debian +0 -13
  146. data/ext/debian/vim-puppet.dirs +0 -5
  147. data/ext/debian/vim-puppet.yaml +0 -7
  148. data/ext/debian/watch +0 -2
  149. data/ext/freebsd/puppetd +0 -26
  150. data/ext/freebsd/puppetmasterd +0 -26
  151. data/ext/gentoo/conf.d/puppet +0 -5
  152. data/ext/gentoo/conf.d/puppetmaster +0 -12
  153. data/ext/gentoo/init.d/puppet +0 -38
  154. data/ext/gentoo/init.d/puppetmaster +0 -51
  155. data/ext/gentoo/puppet/fileserver.conf +0 -41
  156. data/ext/ips/puppet-agent +0 -44
  157. data/ext/ips/puppet-master +0 -44
  158. data/ext/ips/puppet.p5m.erb +0 -12
  159. data/ext/ips/puppetagent.xml +0 -42
  160. data/ext/ips/puppetmaster.xml +0 -42
  161. data/ext/ips/rules +0 -19
  162. data/ext/ips/transforms +0 -34
  163. data/ext/ldap/puppet.schema +0 -24
  164. data/ext/logcheck/puppet +0 -23
  165. data/ext/osx/file_mapping.yaml +0 -28
  166. data/ext/osx/postflight.erb +0 -109
  167. data/ext/osx/preflight.erb +0 -52
  168. data/ext/osx/prototype.plist.erb +0 -38
  169. data/ext/redhat/fileserver.conf +0 -41
  170. data/ext/redhat/logrotate +0 -21
  171. data/ext/redhat/puppet.spec.erb +0 -841
  172. data/ext/redhat/server.init +0 -128
  173. data/ext/redhat/server.sysconfig +0 -13
  174. data/ext/solaris/pkginfo +0 -6
  175. data/ext/solaris/smf/puppetd.xml +0 -77
  176. data/ext/solaris/smf/puppetmasterd.xml +0 -77
  177. data/ext/solaris/smf/svc-puppetd +0 -71
  178. data/ext/solaris/smf/svc-puppetmasterd +0 -67
  179. data/ext/suse/puppet.spec +0 -310
  180. data/ext/suse/server.init +0 -173
  181. data/ext/yaml_nodes.rb +0 -105
  182. data/spec/unit/indirector/store_configs_spec.rb +0 -7
data/ext/ips/transforms DELETED
@@ -1,34 +0,0 @@
1
- <transform file dir link hardlink path=usr/share/man/.+(/.+)? -> default facet.doc.man true>
2
- <transform file path=usr/share/man/.+(/.+)? -> add restart_fmri svc:/application/man-index:default>
3
-
4
- # drop opt and user
5
- <transform dir path=(lib|etc|usr|var)$->drop>
6
- <transform dir path=usr/(share|ruby)$->drop>
7
- <transform dir path=usr/share/man$->drop>
8
- <transform dir path=usr/ruby/1.8$->drop>
9
- <transform dir path=usr/ruby/1.8/lib$->drop>
10
- <transform dir path=usr/ruby/1.8/ruby$->drop>
11
- <transform dir path=usr/ruby/1.8/ruby/1.8$->drop>
12
- <transform dir path=(var|lib)/svc$->drop>
13
- <transform dir path=lib/svc/method$->drop>
14
- <transform dir path=var/svc/manifest$->drop>
15
- <transform dir path=var/svc/manifest/network$->drop>
16
-
17
- # drop var/lib var/log
18
- <transform dir path=var/(lib|log)$->drop>
19
-
20
- # saner dependencies
21
- <transform depend -> edit fmri "@[^ \t\n\r\f\v]*" "">
22
-
23
- # make sure /var/log/puppet and /var/lib/puppet are owned by puppet
24
- <transform dir path=var/(log|lib)/puppet$ -> edit group bin puppet>
25
- <transform dir path=var/(log|lib)/puppet$ -> edit owner root puppet>
26
-
27
- <transform file path=var/svc/manifest/.*\.xml -> add restart_fmri svc:/system/manifest-import:default>
28
-
29
- # we depend on facter
30
- <transform pkg -> emit depend type=require fmri=application/facter@1.7.0>
31
-
32
- # preserve the old conf file on upgrade.
33
- <transform file path=etc/puppet/(puppet|auth).conf -> add overlay true>
34
- <transform file path=etc/puppet/(puppet|auth).conf -> add preserve renamenew>
@@ -1,24 +0,0 @@
1
- attributetype ( 1.3.6.1.4.1.34380.1.1.3.10 NAME 'puppetClass'
2
- DESC 'Puppet Node Class'
3
- EQUALITY caseIgnoreIA5Match
4
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
5
-
6
- attributetype ( 1.3.6.1.4.1.34380.1.1.3.9 NAME 'parentNode'
7
- DESC 'Puppet Parent Node'
8
- EQUALITY caseIgnoreIA5Match
9
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
10
- SINGLE-VALUE )
11
-
12
- attributetype ( 1.3.6.1.4.1.34380.1.1.3.11 NAME 'environment'
13
- DESC 'Puppet Node Environment'
14
- EQUALITY caseIgnoreIA5Match
15
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
16
-
17
- attributetype ( 1.3.6.1.4.1.34380.1.1.3.12 NAME 'puppetVar'
18
- DESC 'A variable setting for puppet'
19
- EQUALITY caseIgnoreIA5Match
20
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
21
-
22
- objectclass ( 1.3.6.1.4.1.34380.1.1.1.2 NAME 'puppetClient' SUP top AUXILIARY
23
- DESC 'Puppet Client objectclass'
24
- MAY ( puppetclass $ parentnode $ environment $ puppetvar ))
data/ext/logcheck/puppet DELETED
@@ -1,23 +0,0 @@
1
- ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-master\[[0-9]+\]: (Handled resources in|Resource comparison took|Searched for (host|resources|resource params and tags) in) [0-9.]+ seconds
2
- ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-master\[[0-9]+\]: Starting Puppet server version [.0-9]+$
3
- ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-master\[[0-9]+\]: Compiled catalog for [._[:alnum:]-]+ in environment [_[:alnum:]]+ in [.[:digit:]]+ seconds$
4
- ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-master\[[0-9]+\]: Caught TERM; shutting down$
5
- ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-master\[[0-9]+\]: Shutting down$
6
- ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Starting Puppet client version [.0-9]+$
7
- ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: getting config$
8
- ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Caching configuration at [\/._[:alnum:]-]+$
9
- ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Loaded state in [.0-9]+ seconds$
10
- ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Calling puppetmaster.getconfig$
11
- ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Retrieved configuration in [.0-9]+ seconds$
12
- ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Starting configuration run$
13
- ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Finished configuration run in [.0-9]+ seconds$
14
- ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Caught (TERM|INT); shutting down$
15
- ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Shutting down$
16
- ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Restarting with .*$
17
- ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Starting catalog run$
18
- ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Finished catalog run in [.0-9]+ seconds$
19
- ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Loading fact .*$
20
- ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Ignoring cache$
21
- ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Ignoring --listen on onetime run$
22
- ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Retrieving plugins$
23
- ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-master\[[0-9]+\]: Reopening log files$
@@ -1,28 +0,0 @@
1
- directories:
2
- lib:
3
- path: 'Library/Ruby/Site'
4
- owner: 'root'
5
- group: 'wheel'
6
- perms: '0644'
7
- bin:
8
- path: 'usr/bin'
9
- owner: 'root'
10
- group: 'wheel'
11
- perms: '0755'
12
- 'man/man8':
13
- path: 'usr/share/man/man8'
14
- owner: 'root'
15
- group: 'wheel'
16
- perms: '0755'
17
- files:
18
- 'man/man5/puppet.conf.5':
19
- path: 'usr/share/man/man5'
20
- owner: 'root'
21
- group: 'wheel'
22
- perms: '0644'
23
- '[A-Z]*':
24
- path: 'usr/share/doc/puppet'
25
- owner: 'root'
26
- group: 'wheel'
27
- perms: '0644'
28
-
@@ -1,109 +0,0 @@
1
- #!/bin/bash
2
-
3
- #by doing the below, we are ensuring we are modifying the target system the package is being installed on,
4
- #not the OS running the installer
5
- declare -x dest_vol="${3}"
6
- declare -x dscl="${dest_vol}/usr/bin/dscl"
7
- declare -x dspath="${dest_vol}/var/db/dslocal/nodes/Default/"
8
- declare -x scripts_dir="${1}/Contents/Resources/"
9
- declare -x awk="/usr/bin/awk"
10
- declare -x last_user_id='-1'
11
- declare -x last_group_id='-1'
12
-
13
- function idFree() {
14
- declare -a idArray=("${!2}")
15
- for inc in ${idArray[@]}
16
- do
17
- if [ $inc == $1 ]
18
- then
19
- return 1
20
- fi
21
- done
22
-
23
- return 0
24
-
25
- }
26
-
27
- function create_puser () {
28
- "${dscl}" -f "${dspath}" localonly -create /Local/Target/Users/puppet
29
- "${dscl}" -f "${dspath}" localonly -create /Local/Target/Users/puppet UniqueID $1
30
- "${dscl}" -f "${dspath}" localonly -create /Local/Target/Users/puppet PrimaryGroupID $2
31
- }
32
-
33
- function create_pgroup () {
34
- "${dscl}" -f "${dspath}" localonly -create /Local/Target/Groups/puppet
35
- "${dscl}" -f "${dspath}" localonly -create /Local/Target/Groups/puppet PrimaryGroupID $1
36
- }
37
-
38
- function scan_users () {
39
- UniqueIDS=(`"${dscl}" -f "${dspath}" localonly list /Local/Target/Users UniqueID | $awk '{print $2}'`);
40
-
41
- #first just check for UID 52
42
- if idFree '52' UniqueIDS[@]
43
- then
44
- last_user_id='52'
45
- else
46
- for possibleUID in {450..495}
47
- do
48
- if idFree $possibleUID UniqueIDS[@]
49
- then
50
- last_user_id=$possibleUID
51
- #echo $last_good_id
52
- fi
53
- done
54
- fi
55
- }
56
-
57
- function scan_groups () {
58
- GroupIDS=(`"${dscl}" -f "${dspath}" localonly list /Local/Target/Groups PrimaryGroupID | $awk '{print $2}'`);
59
- #check for 52 for group, if it's free, take it, don't bother doing the big search
60
- if idFree '52' GroupIDS[@]
61
- then
62
- last_group_id='52'
63
- else
64
- for groupID in {450..495}
65
- do
66
- if idFree $groupID GroupIDS[@]
67
- then
68
- last_group_id=$groupID
69
- fi
70
- done
71
- fi
72
- }
73
-
74
- echo "looking for Puppet User"
75
- "${dscl}" -f "${dspath}" localonly -read /Local/Target/Users/puppet
76
- puser_exists=$?
77
- echo "Looking for Puppet Group"
78
- "${dscl}" -f "${dspath}" localonly -read /Local/Target/Groups/puppet
79
- pgroup_exists=$?
80
- # exit status 56 indicates user/group not found
81
- # exit status 0 indicates user/group does exist
82
-
83
- if [ $pgroup_exists == '0' ] && [ $puser_exists == '0' ]; then
84
- #Puppet user and group already exist
85
- echo "Puppet User / Group already exist, not adding anything"
86
- #storing the existing UID/GID to set permissions for /var/lib/puppet and /etc/puppet/puppet.conf
87
- last_group_id=`"${dscl}" -f "${dspath}" localonly -read /Local/Target/Groups/puppet PrimaryGroupID | awk '{print $2}'`
88
- last_user_id=`"${dscl}" -f "${dspath}" localonly -read /Local/Target/Users/puppet UniqueID | awk '{print $2}'`
89
- elif [ $pgroup_exists == '0' ] && [ $puser_exists == '56' ]; then
90
- #puppet group exists, but user does not
91
- last_group_id=`"${dscl}" -f "${dspath}" localonly -read /Local/Target/Groups/puppet PrimaryGroupID | awk '{print $2}'`
92
- scan_users
93
- echo "Creating Puppet User (uid: $last_user_id) in existing Puppet Group (gid: $last_group_id)"
94
- create_puser $last_user_id $last_group_id
95
- elif [ $pgroup_exists == '56' ] && [ $puser_exists == '0' ]; then
96
- #puppet user exists, but group does not
97
- last_user_id=`"${dscl}" -f "${dspath}" localonly -read /Local/Target/Users/puppet UniqueID | awk '{print $2}'`
98
- scan_groups
99
- echo "Creating Puppet Group (gid: $last_group_id), Puppet User exists (uid: $last_user_id)"
100
- create_pgroup $last_group_id
101
- elif [ $pgroup_exists == '56' ] && [ $puser_exists == '56' ]; then
102
- scan_users
103
- scan_groups
104
- echo "Creating Puppet User (uid: $last_user_id) in new Puppet Group (gid: $last_group_id)"
105
- create_pgroup $last_group_id
106
- create_puser $last_user_id $last_group_id
107
- else
108
- echo "Something went wrong and user creation will need to be done manually"
109
- fi
@@ -1,52 +0,0 @@
1
- #!/bin/bash
2
- #
3
- # Make sure that old puppet cruft is removed
4
- # This also allows us to downgrade puppet as
5
- # it's more likely that installing old versions
6
- # over new will cause issues.
7
- #
8
- # ${3} is the destination volume so that this works correctly
9
- # when being installed to volumes other than the current OS.
10
-
11
- <%- ["@apple_libdir", "@apple_sbindir", "@apple_bindir", "@apple_docdir", "@package_name"].each do |i| -%>
12
- <%- val = instance_variable_get(i) -%>
13
- <%- raise "Critical variable #{i} is unset!" if val.nil? or val.empty? -%>
14
- <%- end -%>
15
-
16
- # remove ruby library files. Because hiera and puppet both place a "hiera"
17
- # directory in the libdir, we have to be sure we only delete the files
18
- # belonging to this project. In this case, we only delete files from within
19
- # the 'hiera' directory, while deleting the entire puppet directory.
20
- <%- Dir.chdir("lib") do -%>
21
- <%- [@apple_old_libdir, @apple_libdir].compact.each do |libdir| -%>
22
- <%- Dir["hiera/**/*"].select{ |i| File.file?(i) }.each do |file| -%>
23
- /bin/rm -f "${3}<%= libdir %>/<%= file %>"
24
- <%- end -%>
25
- <%- Dir.glob("*").each do |file| -%>
26
- <%- next if file == "hiera" -%>
27
- <%- if File.directory?(file) -%>
28
- /bin/rm -Rf "${3}<%= libdir %>/<%= file %>"
29
- <%- else -%>
30
- /bin/rm -f "${3}<%= libdir %>/<%= file %>"
31
- <%- end -%>
32
- <%- end -%>
33
- <%- end -%>
34
- <%- end -%>
35
-
36
- # remove bin files
37
- <%- Dir.chdir("bin") do -%>
38
- <%- Dir.glob("*").each do |file| -%>
39
- /bin/rm -f "${3}<%= @apple_bindir %>/<%= file %>"
40
- <%- end -%>
41
- <%- end -%>
42
-
43
- # remove old doc files
44
- /bin/rm -Rf "${3}<%= @apple_docdir %>/<%= @package_name %>"
45
-
46
- # These files used to live in the sbindir but were
47
- # removed in Pupppet >= 3.0. Remove them
48
- /bin/rm -f "${3}<%= @apple_sbindir %>/puppetca"
49
- /bin/rm -f "${3}<%= @apple_sbindir %>/puppetd"
50
- /bin/rm -f "${3}<%= @apple_sbindir %>/puppetmasterd"
51
- /bin/rm -f "${3}<%= @apple_sbindir %>/puppetqd"
52
- /bin/rm -f "${3}<%= @apple_sbindir %>/puppetrun"
@@ -1,38 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleIdentifier</key>
6
- <string><%= @title %></string>
7
- <key>CFBundleShortVersionString</key>
8
- <string><%= @version %></string>
9
- <key>IFMajorVersion</key>
10
- <integer><%= @package_major_version %></integer>
11
- <key>IFMinorVersion</key>
12
- <integer><%= @package_minor_version %></integer>
13
- <key>IFPkgBuildDate</key>
14
- <date><%= @build_date %></date>
15
- <key>IFPkgFlagAllowBackRev</key>
16
- <false/>
17
- <key>IFPkgFlagAuthorizationAction</key>
18
- <string>RootAuthorization</string>
19
- <key>IFPkgFlagDefaultLocation</key>
20
- <string>/</string>
21
- <key>IFPkgFlagFollowLinks</key>
22
- <true/>
23
- <key>IFPkgFlagInstallFat</key>
24
- <false/>
25
- <key>IFPkgFlagIsRequired</key>
26
- <false/>
27
- <key>IFPkgFlagOverwritePermissions</key>
28
- <false/>
29
- <key>IFPkgFlagRelocatable</key>
30
- <false/>
31
- <key>IFPkgFlagRestartAction</key>
32
- <string><%= @pm_restart %></string>
33
- <key>IFPkgFlagRootVolumeOnly</key>
34
- <true/>
35
- <key>IFPkgFlagUpdateInstalledLanguages</key>
36
- <false/>
37
- </dict>
38
- </plist>
@@ -1,41 +0,0 @@
1
- # fileserver.conf
2
-
3
- # Puppet automatically serves PLUGINS and FILES FROM MODULES: anything in
4
- # <module name>/files/<file name> is available to authenticated nodes at
5
- # puppet:///modules/<module name>/<file name>. You do not need to edit this
6
- # file to enable this.
7
-
8
- # MOUNT POINTS
9
-
10
- # If you need to serve files from a directory that is NOT in a module,
11
- # you must create a static mount point in this file:
12
- #
13
- # [extra_files]
14
- # path /etc/puppet/files
15
- # allow *
16
- #
17
- # In the example above, anything in /etc/puppet/files/<file name> would be
18
- # available to authenticated nodes at puppet:///extra_files/<file name>.
19
- #
20
- # Mount points may also use three placeholders as part of their path:
21
- #
22
- # %H - The node's certname.
23
- # %h - The portion of the node's certname before the first dot. (Usually the
24
- # node's short hostname.)
25
- # %d - The portion of the node's certname after the first dot. (Usually the
26
- # node's domain name.)
27
-
28
- # PERMISSIONS
29
-
30
- # Every static mount point should have an `allow *` line; setting more
31
- # granular permissions in this file is deprecated. Instead, you can
32
- # control file access in auth.conf by controlling the
33
- # /file_metadata/<mount point> and /file_content/<mount point> paths:
34
- #
35
- # path ~ ^/file_(metadata|content)/extra_files/
36
- # auth yes
37
- # allow /^(.+)\.example\.com$/
38
- # allow_ip 192.168.100.0/24
39
- #
40
- # If added to auth.conf BEFORE the "path /file" rule, the rule above
41
- # will add stricter restrictions to the extra_files mount point.
data/ext/redhat/logrotate DELETED
@@ -1,21 +0,0 @@
1
- # Generic logrotate config for Red Hat systems. Works with both official
2
- # Fedora and RHEL packages as well as PuppetLabs distributions.
3
-
4
- /var/log/puppetlabs/masterhttp.log /var/log/puppet/masterhttp.log {
5
- compress
6
- missingok
7
- notifempty
8
- nocreate
9
- }
10
-
11
- /var/log/puppetlabs/puppetd.log /var/log/puppet/puppetd.log {
12
- compress
13
- missingok
14
- notifempty
15
- nocreate
16
- sharedscripts
17
- postrotate
18
- ([ -x /etc/init.d/puppet ] && /etc/init.d/puppet rotate > /dev/null 2>&1) ||
19
- ([ -x /usr/bin/systemctl ] && /usr/bin/systemctl kill -s USR2 puppet.service > /dev/null 2>&1) || true
20
- endscript
21
- }
@@ -1,841 +0,0 @@
1
- # Augeas and SELinux requirements may be disabled at build time by passing
2
- # --without augeas and/or --without selinux to rpmbuild or mock
3
-
4
- # Fedora 17 ships with ruby 1.9, RHEL 7 with ruby 2.0, which use vendorlibdir instead
5
- # of sitelibdir. Adjust our target if installing on f17 or rhel7.
6
- %if 0%{?fedora} >= 17 || 0%{?rhel} >= 7 || 0%{?amzn} >= 1
7
- %global puppet_libdir %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["vendorlibdir"]')
8
- %else
9
- %global puppet_libdir %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["sitelibdir"]')
10
- %endif
11
-
12
- %if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
13
- %global _with_systemd 1
14
- %else
15
- %global _with_systemd 0
16
- %endif
17
-
18
- # VERSION is subbed out during rake srpm process
19
- %global realversion <%= @version %>
20
- %global rpmversion <%= @rpmversion %>
21
-
22
- %global confdir ext/redhat
23
- %global pending_upgrade_path %{_localstatedir}/lib/rpm-state/puppet
24
- %global pending_upgrade_file %{pending_upgrade_path}/upgrade_pending
25
-
26
- Name: puppet
27
- Version: %{rpmversion}
28
- Release: <%= @rpmrelease -%>%{?dist}
29
- Vendor: %{?_host_vendor}
30
- Summary: A network tool for managing many disparate systems
31
- License: ASL 2.0
32
- URL: https://puppetlabs.com
33
- Source0: https://puppetlabs.com/downloads/%{name}/%{name}-%{realversion}.tar.gz
34
-
35
- Group: System Environment/Base
36
-
37
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
38
-
39
- BuildRequires: facter >= 1:1.7.0
40
- # Puppet 3.x drops ruby 1.8.5 support and adds ruby 1.9 support
41
- BuildRequires: ruby >= 1.8.7
42
- BuildRequires: hiera >= 2.0.0
43
- BuildArch: noarch
44
- Requires: ruby >= 1.8
45
- Requires: ruby-shadow
46
- Requires: rubygem-json
47
-
48
- # Pull in ruby selinux bindings where available
49
- %if 0%{?fedora} || 0%{?rhel} >= 6
50
- %{!?_without_selinux:Requires: ruby(selinux), libselinux-utils}
51
- %else
52
- %if ( 0%{?rhel} && 0%{?rhel} == 5 ) || 0%{?amzn} >= 1
53
- %{!?_without_selinux:Requires: libselinux-ruby, libselinux-utils}
54
- %endif
55
- %endif
56
-
57
- Requires: facter >= 1:1.7.0
58
- # Puppet 3.x drops ruby 1.8.5 support and adds ruby 1.9 support
59
- # Ruby 1.8.7 available for el5 at: yum.puppetlabs.com/el/5/devel/$ARCH
60
- Requires: ruby >= 1.8.7
61
- Requires: hiera >= 2.0.0
62
- Obsoletes: hiera-puppet < 1.0.0
63
- Provides: hiera-puppet >= 1.0.0
64
- %{!?_without_augeas:Requires: ruby-augeas}
65
-
66
- # Required for %%pre
67
- Requires: shadow-utils
68
-
69
- %if 0%{?_with_systemd}
70
- # Required for %%post, %%preun, %%postun
71
- Requires: systemd
72
- %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
73
- BuildRequires: systemd
74
- %else
75
- BuildRequires: systemd-units
76
- %endif
77
- %else
78
- # Required for %%post and %%preun
79
- Requires: chkconfig
80
- # Required for %%preun and %%postun
81
- Requires: initscripts
82
- %endif
83
-
84
- %description
85
- Puppet lets you centrally manage every important aspect of your system using a
86
- cross-platform specification language that manages all the separate elements
87
- normally aggregated in different files, like users, cron jobs, and hosts,
88
- along with obviously discrete elements like packages, services, and files.
89
-
90
- %package server
91
- Group: System Environment/Base
92
- Summary: Server for the puppet system management tool
93
- Requires: puppet = %{version}-%{release}
94
- # chkconfig (%%post, %%preun) and initscripts (%%preun %%postun) are required for non systemd
95
- # and systemd (%%post, %%preun, and %%postun) are required for systems with systemd as default
96
- # They come along transitively with puppet-%{version}-%{release}.
97
-
98
- %description server
99
- Provides the central puppet server daemon which provides manifests to clients.
100
- The server can also function as a certificate authority and file server.
101
-
102
- %prep
103
- %setup -q -n %{name}-%{realversion}
104
-
105
-
106
- %build
107
- find examples/ -type f | xargs --no-run-if-empty chmod a-x
108
-
109
- %install
110
- rm -rf %{buildroot}
111
- ruby install.rb --destdir=%{buildroot} --quick --no-rdoc --sitelibdir=%{puppet_libdir}
112
-
113
- install -d -m0755 %{buildroot}%{_sysconfdir}/puppet/environments/example_env/manifests
114
- install -d -m0755 %{buildroot}%{_sysconfdir}/puppet/environments/example_env/modules
115
- install -d -m0755 %{buildroot}%{_sysconfdir}/puppet/manifests
116
- install -d -m0755 %{buildroot}%{_datadir}/%{name}/modules
117
- install -d -m0755 %{buildroot}%{_localstatedir}/lib/puppet
118
- install -d -m0755 %{buildroot}%{_localstatedir}/lib/puppet/state
119
- install -d -m0755 %{buildroot}%{_localstatedir}/lib/puppet/reports
120
- install -d -m0755 %{buildroot}%{_localstatedir}/run/puppet
121
-
122
- # As per redhat bz #495096
123
- install -d -m0750 %{buildroot}%{_localstatedir}/log/puppet
124
-
125
- %if 0%{?_with_systemd}
126
- # Systemd for fedora >= 17 or el 7
127
- %{__install} -d -m0755 %{buildroot}%{_unitdir}
128
- install -Dp -m0644 ext/systemd/puppet.service %{buildroot}%{_unitdir}/puppet.service
129
- ln -s %{_unitdir}/puppet.service %{buildroot}%{_unitdir}/puppetagent.service
130
- install -Dp -m0644 ext/systemd/puppetmaster.service %{buildroot}%{_unitdir}/puppetmaster.service
131
- %else
132
- # Otherwise init.d for fedora < 17 or el 5, 6
133
- install -Dp -m0644 %{confdir}/client.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/puppet
134
- install -Dp -m0755 %{confdir}/client.init %{buildroot}%{_initrddir}/puppet
135
- install -Dp -m0644 %{confdir}/server.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/puppetmaster
136
- install -Dp -m0755 %{confdir}/server.init %{buildroot}%{_initrddir}/puppetmaster
137
- %endif
138
-
139
- install -Dp -m0644 %{confdir}/fileserver.conf %{buildroot}%{_sysconfdir}/puppet/fileserver.conf
140
- install -Dp -m0644 %{confdir}/puppet.conf %{buildroot}%{_sysconfdir}/puppet/puppet.conf
141
- install -Dp -m0644 %{confdir}/logrotate %{buildroot}%{_sysconfdir}/logrotate.d/puppet
142
- install -Dp -m0644 ext/README.environment %{buildroot}%{_sysconfdir}/puppet/environments/example_env/README.environment
143
-
144
- # Install the ext/ directory to %%{_datadir}/%%{name}
145
- install -d %{buildroot}%{_datadir}/%{name}
146
- cp -a ext/ %{buildroot}%{_datadir}/%{name}
147
- # emacs and vim bits are installed elsewhere
148
- rm -rf %{buildroot}%{_datadir}/%{name}/ext/{emacs,vim}
149
- # remove misc packaging artifacts not applicable to rpms
150
- rm -rf %{buildroot}%{_datadir}/%{name}/ext/{gentoo,freebsd,solaris,suse,windows,osx,ips,debian}
151
- rm -f %{buildroot}%{_datadir}/%{name}/ext/redhat/*.init
152
- rm -f %{buildroot}%{_datadir}/%{name}/ext/{build_defaults.yaml,project_data.yaml}
153
-
154
- # Rpmlint fixup
155
- chmod 755 %{buildroot}%{_datadir}/%{name}/ext/regexp_nodes/regexp_nodes.rb
156
-
157
- # Install emacs mode files
158
- emacsdir=%{buildroot}%{_datadir}/emacs/site-lisp
159
- install -Dp -m0644 ext/emacs/puppet-mode.el $emacsdir/puppet-mode.el
160
- install -Dp -m0644 ext/emacs/puppet-mode-init.el \
161
- $emacsdir/site-start.d/puppet-mode-init.el
162
-
163
- # Install vim syntax files
164
- vimdir=%{buildroot}%{_datadir}/vim/vimfiles
165
- install -Dp -m0644 ext/vim/ftdetect/puppet.vim $vimdir/ftdetect/puppet.vim
166
- install -Dp -m0644 ext/vim/syntax/puppet.vim $vimdir/syntax/puppet.vim
167
- install -Dp -m0644 ext/vim/indent/puppet.vim $vimdir/indent/puppet.vim
168
- install -Dp -m0644 ext/vim/ftplugin/puppet.vim $vimdir/ftplugin/puppet.vim
169
-
170
- %if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
171
- # Setup tmpfiles.d config
172
- mkdir -p %{buildroot}%{_sysconfdir}/tmpfiles.d
173
- echo "D /var/run/%{name} 0755 %{name} %{name} -" > \
174
- %{buildroot}%{_sysconfdir}/tmpfiles.d/%{name}.conf
175
- %endif
176
-
177
- # Create puppet modules directory for puppet module tool
178
- mkdir -p %{buildroot}%{_sysconfdir}/%{name}/modules
179
-
180
- # Masterhttp.log is created on server start and should be distributed
181
- # with correct permissions
182
- touch %{buildroot}%{_localstatedir}/log/puppet/masterhttp.log
183
-
184
- %files
185
- %defattr(-, root, root, 0755)
186
- %doc LICENSE README.md examples
187
- %{_bindir}/puppet
188
- %{puppet_libdir}/*
189
- %if 0%{?_with_systemd}
190
- %{_unitdir}/puppet.service
191
- %{_unitdir}/puppetagent.service
192
- %else
193
- %{_initrddir}/puppet
194
- %config(noreplace) %{_sysconfdir}/sysconfig/puppet
195
- %endif
196
- %dir %{_sysconfdir}/puppet
197
- %dir %{_sysconfdir}/%{name}/modules
198
- %if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
199
- %config(noreplace) %{_sysconfdir}/tmpfiles.d/%{name}.conf
200
- %endif
201
- %config(noreplace) %{_sysconfdir}/puppet/puppet.conf
202
- %config(noreplace) %{_sysconfdir}/logrotate.d/puppet
203
- # We don't want to require emacs or vim, so we need to own these dirs
204
- %{_datadir}/emacs
205
- %{_datadir}/vim
206
- %{_datadir}/%{name}
207
- # man pages
208
- %{_mandir}/man5/puppet.conf.5.gz
209
- %{_mandir}/man8/puppet.8.gz
210
- %{_mandir}/man8/puppet-agent.8.gz
211
- %{_mandir}/man8/puppet-apply.8.gz
212
- %{_mandir}/man8/puppet-catalog.8.gz
213
- %{_mandir}/man8/puppet-describe.8.gz
214
- %{_mandir}/man8/puppet-ca.8.gz
215
- %{_mandir}/man8/puppet-cert.8.gz
216
- %{_mandir}/man8/puppet-certificate.8.gz
217
- %{_mandir}/man8/puppet-certificate_request.8.gz
218
- %{_mandir}/man8/puppet-certificate_revocation_list.8.gz
219
- %{_mandir}/man8/puppet-config.8.gz
220
- %{_mandir}/man8/puppet-device.8.gz
221
- %{_mandir}/man8/puppet-doc.8.gz
222
- %{_mandir}/man8/puppet-facts.8.gz
223
- %{_mandir}/man8/puppet-file.8.gz
224
- %{_mandir}/man8/puppet-filebucket.8.gz
225
- %{_mandir}/man8/puppet-help.8.gz
226
- %{_mandir}/man8/puppet-inspect.8.gz
227
- %{_mandir}/man8/puppet-key.8.gz
228
- %{_mandir}/man8/puppet-kick.8.gz
229
- %{_mandir}/man8/puppet-man.8.gz
230
- %{_mandir}/man8/puppet-module.8.gz
231
- %{_mandir}/man8/puppet-node.8.gz
232
- %{_mandir}/man8/puppet-parser.8.gz
233
- %{_mandir}/man8/puppet-plugin.8.gz
234
- %{_mandir}/man8/puppet-report.8.gz
235
- %{_mandir}/man8/puppet-resource.8.gz
236
- %{_mandir}/man8/puppet-status.8.gz
237
- # These need to be owned by puppet so the server can
238
- # write to them. The separate %defattr's are required
239
- # to work around RH Bugzilla 681540
240
- %defattr(-, puppet, puppet, 0755)
241
- %{_localstatedir}/run/puppet
242
- %defattr(-, puppet, puppet, 0750)
243
- %{_localstatedir}/log/puppet
244
- %{_localstatedir}/lib/puppet
245
- %{_localstatedir}/lib/puppet/state
246
- %{_localstatedir}/lib/puppet/reports
247
- # Return the default attributes to 0755 to
248
- # prevent incorrect permission assignment on EL6
249
- %defattr(-, root, root, 0755)
250
-
251
-
252
- %files server
253
- %defattr(-, root, root, 0755)
254
- %if 0%{?_with_systemd}
255
- %{_unitdir}/puppetmaster.service
256
- %else
257
- %{_initrddir}/puppetmaster
258
- %config(noreplace) %{_sysconfdir}/sysconfig/puppetmaster
259
- %endif
260
- %config(noreplace) %{_sysconfdir}/puppet/fileserver.conf
261
- %dir %{_sysconfdir}/puppet/manifests
262
- %dir %{_sysconfdir}/puppet/environments
263
- %dir %{_sysconfdir}/puppet/environments/example_env
264
- %dir %{_sysconfdir}/puppet/environments/example_env/manifests
265
- %dir %{_sysconfdir}/puppet/environments/example_env/modules
266
- %{_sysconfdir}/puppet/environments/example_env/README.environment
267
- %{_mandir}/man8/puppet-ca.8.gz
268
- %{_mandir}/man8/puppet-master.8.gz
269
- %attr(660, puppet, puppet) %{_localstatedir}/log/puppet/masterhttp.log
270
-
271
- # Fixed uid/gid were assigned in bz 472073 (Fedora), 471918 (RHEL-5),
272
- # and 471919 (RHEL-4)
273
- %pre
274
- getent group puppet &>/dev/null || groupadd -r puppet -g 52 &>/dev/null
275
- getent passwd puppet &>/dev/null || \
276
- useradd -r -u 52 -g puppet -d %{_localstatedir}/lib/puppet -s /sbin/nologin \
277
- -c "Puppet" puppet &>/dev/null
278
- # ensure that old setups have the right puppet home dir
279
- if [ $1 -gt 1 ] ; then
280
- usermod -d %{_localstatedir}/lib/puppet puppet &>/dev/null
281
- fi
282
- exit 0
283
-
284
- %post
285
- %if 0%{?_with_systemd}
286
- /bin/systemctl daemon-reload >/dev/null 2>&1 || :
287
- if [ "$1" -ge 1 ]; then
288
- # The pidfile changed from 0.25.x to 2.6.x, handle upgrades without leaving
289
- # the old process running.
290
- oldpid="%{_localstatedir}/run/puppet/puppetd.pid"
291
- newpid="%{_localstatedir}/run/puppet/agent.pid"
292
- if [ -s "$oldpid" -a ! -s "$newpid" ]; then
293
- (kill $(< "$oldpid") && rm -f "$oldpid" && \
294
- /bin/systemctl start puppet.service) >/dev/null 2>&1 || :
295
- fi
296
- fi
297
- %else
298
- /sbin/chkconfig --add puppet || :
299
- if [ "$1" -ge 1 ]; then
300
- # The pidfile changed from 0.25.x to 2.6.x, handle upgrades without leaving
301
- # the old process running.
302
- oldpid="%{_localstatedir}/run/puppet/puppetd.pid"
303
- newpid="%{_localstatedir}/run/puppet/agent.pid"
304
- if [ -s "$oldpid" -a ! -s "$newpid" ]; then
305
- (kill $(< "$oldpid") && rm -f "$oldpid" && \
306
- /sbin/service puppet start) >/dev/null 2>&1 || :
307
- fi
308
-
309
- # If an old puppet process (one whose binary is located in /sbin) is running,
310
- # kill it and then start up a fresh with the new binary.
311
- if [ -e "$newpid" ]; then
312
- if ps aux | grep `cat "$newpid"` | grep -v grep | awk '{ print $12 }' | grep -q sbin; then
313
- (kill $(< "$newpid") && rm -f "$newpid" && \
314
- /sbin/service puppet start) >/dev/null 2>&1 || :
315
- fi
316
- fi
317
- fi
318
- %endif
319
-
320
- %post server
321
- %if 0%{?_with_systemd}
322
- /bin/systemctl daemon-reload >/dev/null 2>&1 || :
323
- if [ "$1" -ge 1 ]; then
324
- # The pidfile changed from 0.25.x to 2.6.x, handle upgrades without leaving
325
- # the old process running.
326
- oldpid="%{_localstatedir}/run/puppet/puppetmasterd.pid"
327
- newpid="%{_localstatedir}/run/puppet/master.pid"
328
- if [ -s "$oldpid" -a ! -s "$newpid" ]; then
329
- (kill $(< "$oldpid") && rm -f "$oldpid" && \
330
- /bin/systemctl start puppetmaster.service) > /dev/null 2>&1 || :
331
- fi
332
- fi
333
- %else
334
- /sbin/chkconfig --add puppetmaster || :
335
- if [ "$1" -ge 1 ]; then
336
- # The pidfile changed from 0.25.x to 2.6.x, handle upgrades without leaving
337
- # the old process running.
338
- oldpid="%{_localstatedir}/run/puppet/puppetmasterd.pid"
339
- newpid="%{_localstatedir}/run/puppet/master.pid"
340
- if [ -s "$oldpid" -a ! -s "$newpid" ]; then
341
- (kill $(< "$oldpid") && rm -f "$oldpid" && \
342
- /sbin/service puppetmaster start) >/dev/null 2>&1 || :
343
- fi
344
- fi
345
- %endif
346
-
347
- %preun
348
- %if 0%{?_with_systemd}
349
- if [ "$1" -eq 0 ] ; then
350
- # Package removal, not upgrade
351
- /bin/systemctl --no-reload disable puppetagent.service > /dev/null 2>&1 || :
352
- /bin/systemctl --no-reload disable puppet.service > /dev/null 2>&1 || :
353
- /bin/systemctl stop puppetagent.service > /dev/null 2>&1 || :
354
- /bin/systemctl stop puppet.service > /dev/null 2>&1 || :
355
- /bin/systemctl daemon-reload >/dev/null 2>&1 || :
356
- fi
357
-
358
- if [ "$1" == "1" ]; then
359
- /bin/systemctl is-enabled puppetagent.service > /dev/null 2>&1
360
- if [ "$?" == "0" ]; then
361
- /bin/systemctl --no-reload disable puppetagent.service > /dev/null 2>&1 ||:
362
- /bin/systemctl stop puppetagent.service > /dev/null 2>&1 ||:
363
- /bin/systemctl daemon-reload >/dev/null 2>&1 ||:
364
- if [ ! -d %{pending_upgrade_path} ]; then
365
- mkdir -p %{pending_upgrade_path}
366
- fi
367
-
368
- if [ ! -e %{pending_upgrade_file} ]; then
369
- touch %{pending_upgrade_file}
370
- fi
371
- fi
372
- fi
373
-
374
- %else
375
- if [ "$1" = 0 ] ; then
376
- /sbin/service puppet stop > /dev/null 2>&1
377
- /sbin/chkconfig --del puppet || :
378
- fi
379
- %endif
380
-
381
- %preun server
382
- %if 0%{?_with_systemd}
383
- if [ $1 -eq 0 ] ; then
384
- # Package removal, not upgrade
385
- /bin/systemctl --no-reload disable puppetmaster.service > /dev/null 2>&1 || :
386
- /bin/systemctl stop puppetmaster.service > /dev/null 2>&1 || :
387
- /bin/systemctl daemon-reload >/dev/null 2>&1 || :
388
- fi
389
- %else
390
- if [ "$1" = 0 ] ; then
391
- /sbin/service puppetmaster stop > /dev/null 2>&1
392
- /sbin/chkconfig --del puppetmaster || :
393
- fi
394
- %endif
395
-
396
- %postun
397
- %if 0%{?_with_systemd}
398
- if [ $1 -ge 1 ] ; then
399
- if [ -e %{pending_upgrade_file} ]; then
400
- /bin/systemctl --no-reload enable puppet.service > /dev/null 2>&1 ||:
401
- /bin/systemctl start puppet.service > /dev/null 2>&1 ||:
402
- /bin/systemctl daemon-reload >/dev/null 2>&1 ||:
403
- rm %{pending_upgrade_file}
404
- fi
405
- # Package upgrade, not uninstall
406
- /bin/systemctl try-restart puppetagent.service >/dev/null 2>&1 || :
407
- fi
408
- %else
409
- if [ "$1" -ge 1 ]; then
410
- /sbin/service puppet condrestart >/dev/null 2>&1 || :
411
- fi
412
- %endif
413
-
414
- %postun server
415
- %if 0%{?_with_systemd}
416
- if [ $1 -ge 1 ] ; then
417
- # Package upgrade, not uninstall
418
- /bin/systemctl try-restart puppetmaster.service >/dev/null 2>&1 || :
419
- fi
420
- %else
421
- if [ "$1" -ge 1 ]; then
422
- /sbin/service puppetmaster condrestart >/dev/null 2>&1 || :
423
- fi
424
- %endif
425
-
426
- %clean
427
- rm -rf %{buildroot}
428
-
429
- %changelog
430
- * <%= Time.now.strftime("%a %b %d %Y") %> Puppet Labs Release <info@puppetlabs.com> - <%= @rpmversion %>-<%= @rpmrelease %>
431
- - Build for <%= @version %>
432
-
433
- * Wed Oct 2 2013 Jason Antman <jason@jasonantman.com>
434
- - Move systemd service and unit file names back to "puppet" from erroneous "puppetagent"
435
- - Add symlink to puppetagent unit file for compatibility with current bug
436
- - Alter package removal actions to deactivate and stop both service names
437
-
438
- * Thu Jun 27 2013 Matthaus Owens <matthaus@puppetlabs.com> - 3.2.3-0.1rc0
439
- - Bump requires on ruby-rgen to 0.6.5
440
-
441
- * Fri Apr 12 2013 Matthaus Owens <matthaus@puppetlabs.com> - 3.2.0-0.1rc0
442
- - Add requires on ruby-rgen for new parser in Puppet 3.2
443
-
444
- * Fri Jan 25 2013 Matthaus Owens <matthaus@puppetlabs.com> - 3.1.0-0.1rc1
445
- - Add extlookup2hiera.8.gz to the files list
446
-
447
- * Wed Jan 9 2013 Ryan Uber <ru@ryanuber.com> - 3.1.0-0.1rc1
448
- - Work-around for RH Bugzilla 681540
449
-
450
- * Fri Dec 28 2012 Michael Stahnke <stahnma@puppetlabs.com> - 3.0.2-2
451
- - Added a script for Network Manager for bug https://bugzilla.redhat.com/532085
452
-
453
- * Tue Dec 18 2012 Matthaus Owens <matthaus@puppetlabs.com>
454
- - Remove for loop on examples/ code which no longer exists. Add --no-run-if-empty to xargs invocations.
455
-
456
- * Sat Dec 1 2012 Ryan Uber <ryuber@cisco.com>
457
- - Fix for logdir perms regression (#17866)
458
-
459
- * Wed Aug 29 2012 Moses Mendoza <moses@puppetlabs.com> - 3.0.0-0.1rc5
460
- - Update for 3.0.0 rc5
461
-
462
- * Fri Aug 24 2012 Eric Sorenson <eric0@puppetlabs.com> - 3.0.0-0.1rc4
463
- - Facter requirement is 1.6.11, not 2.0
464
- - Update for 3.0.0 rc4
465
-
466
- * Tue Aug 21 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.19-1
467
- - Update for 2.7.19
468
-
469
- * Tue Aug 14 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.19-0.1rc3
470
- - Update for 2.7.19rc3
471
-
472
- * Tue Aug 7 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.19-0.1rc2
473
- - Update for 2.7.19rc2
474
-
475
- * Wed Aug 1 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.19-0.1rc1
476
- - Update for 2.7.19rc1
477
-
478
- * Wed Jul 11 2012 William Hopper <whopper@puppetlabs.com> - 2.7.18-2
479
- - (#15221) Create /etc/puppet/modules for puppet module tool
480
-
481
- * Mon Jul 9 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.18-1
482
- - Update for 2.7.18
483
-
484
- * Tue Jun 19 2012 Matthaus Litteken <matthaus@puppetlabs.com> - 2.7.17-1
485
- - Update for 2.7.17
486
-
487
- * Wed Jun 13 2012 Matthaus Litteken <matthaus@puppetlabs.com> - 2.7.16-1
488
- - Update for 2.7.16
489
-
490
- * Fri Jun 08 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.16-0.1rc1.2
491
- - Updated facter 2.0 dep to include epoch 1
492
-
493
- * Wed Jun 06 2012 Matthaus Litteken <matthaus@puppetlabs.com> - 2.7.16-0.1rc1
494
- - Update for 2.7.16rc1, added generated manpages
495
-
496
- * Fri Jun 01 2012 Matthaus Litteken <matthaus@puppetlabs.com> - 3.0.0-0.1rc3
497
- - Puppet 3.0.0rc3 Release
498
-
499
- * Fri Jun 01 2012 Matthaus Litteken <matthaus@puppetlabs.com> - 2.7.15-0.1rc4
500
- - Update for 2.7.15rc4
501
-
502
- * Tue May 29 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.15-0.1rc3
503
- - Update for 2.7.15rc3
504
-
505
- * Tue May 22 2012 Matthaus Litteken <matthaus@puppetlabs.com> - 3.0.0-0.1rc2
506
- - Puppet 3.0.0rc2 Release
507
-
508
- * Thu May 17 2012 Matthaus Litteken <matthaus@puppetlabs.com> - 3.0.0-0.1rc1
509
- - Puppet 3.0.0rc1 Release
510
-
511
- * Wed May 16 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.15-0.1rc2
512
- - Update for 2.7.15rc2
513
-
514
- * Tue May 15 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.15-0.1rc1
515
- - Update for 2.7.15rc1
516
-
517
- * Wed May 02 2012 Moses Mendoza <moses@puppetlabs.com> - 2.7.14-1
518
- - Update for 2.7.14
519
-
520
- * Tue Apr 10 2012 Matthaus Litteken <matthaus@puppetlabs.com> - 2.7.13-1
521
- - Update for 2.7.13
522
-
523
- * Mon Mar 12 2012 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.12-1
524
- - Update for 2.7.12
525
-
526
- * Fri Feb 24 2012 Matthaus Litteken <matthaus@puppetlabs.com> - 2.7.11-2
527
- - Update 2.7.11 from proper tag, including #12572
528
-
529
- * Wed Feb 22 2012 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.11-1
530
- - Update for 2.7.11
531
-
532
- * Wed Jan 25 2012 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.10-1
533
- - Update for 2.7.10
534
-
535
- * Fri Dec 9 2011 Matthaus Litteken <matthaus@puppetlabs.com> - 2.7.9-1
536
- - Update for 2.7.9
537
-
538
- * Thu Dec 8 2011 Matthaus Litteken <matthaus@puppetlabs.com> - 2.7.8-1
539
- - Update for 2.7.8
540
-
541
- * Wed Nov 30 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.8-0.1rc1
542
- - Update for 2.7.8rc1
543
-
544
- * Mon Nov 21 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.7-1
545
- - Relaese 2.7.7
546
-
547
- * Tue Nov 01 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.7-0.1rc1
548
- - Update for 2.7.7rc1
549
-
550
- * Fri Oct 21 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.6-1
551
- - 2.7.6 final
552
-
553
- * Thu Oct 13 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.6-.1rc3
554
- - New RC
555
-
556
- * Fri Oct 07 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.6-0.1rc2
557
- - New RC
558
-
559
- * Mon Oct 03 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.6-0.1rc1
560
- - New RC
561
-
562
- * Fri Sep 30 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.5-1
563
- - Fixes for CVE-2011-3869, 3870, 3871
564
-
565
- * Wed Sep 28 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.4-1
566
- - Fix for CVE-2011-3484
567
-
568
- * Wed Jul 06 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.2-0.2.rc1
569
- - Clean up rpmlint errors
570
- - Put man pages in correct package
571
-
572
- * Wed Jul 06 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.7.2-0.1.rc1
573
- - Update to 2.7.2rc1
574
-
575
- * Wed Jun 15 2011 Todd Zullinger <tmz@pobox.com> - 2.6.9-0.1.rc1
576
- - Update rc versioning to ensure 2.6.9 final is newer to rpm
577
- - sync changes with Fedora/EPEL
578
-
579
- * Tue Jun 14 2011 Michael Stahnke <stahnma@puppetlabs.com> - 2.6.9rc1-1
580
- - Update to 2.6.9rc1
581
-
582
- * Thu Apr 14 2011 Todd Zullinger <tmz@pobox.com> - 2.6.8-1
583
- - Update to 2.6.8
584
-
585
- * Thu Mar 24 2011 Todd Zullinger <tmz@pobox.com> - 2.6.7-1
586
- - Update to 2.6.7
587
-
588
- * Wed Mar 16 2011 Todd Zullinger <tmz@pobox.com> - 2.6.6-1
589
- - Update to 2.6.6
590
- - Ensure %%pre exits cleanly
591
- - Fix License tag, puppet is now GPLv2 only
592
- - Create and own /usr/share/puppet/modules (#615432)
593
- - Properly restart puppet agent/master daemons on upgrades from 0.25.x
594
- - Require libselinux-utils when selinux support is enabled
595
- - Support tmpfiles.d for Fedora >= 15 (#656677)
596
-
597
- * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25.5-2
598
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
599
-
600
- * Mon May 17 2010 Todd Zullinger <tmz@pobox.com> - 0.25.5-1
601
- - Update to 0.25.5
602
- - Adjust selinux conditional for EL-6
603
- - Apply rundir-perms patch from tarball rather than including it separately
604
- - Update URL's to reflect the new puppetlabs.com domain
605
-
606
- * Fri Jan 29 2010 Todd Zullinger <tmz@pobox.com> - 0.25.4-1
607
- - Update to 0.25.4
608
-
609
- * Tue Jan 19 2010 Todd Zullinger <tmz@pobox.com> - 0.25.3-2
610
- - Apply upstream patch to fix cron resources (upstream #2845)
611
-
612
- * Mon Jan 11 2010 Todd Zullinger <tmz@pobox.com> - 0.25.3-1
613
- - Update to 0.25.3
614
-
615
- * Tue Jan 05 2010 Todd Zullinger <tmz@pobox.com> - 0.25.2-1.1
616
- - Replace %%define with %%global for macros
617
-
618
- * Tue Jan 05 2010 Todd Zullinger <tmz@pobox.com> - 0.25.2-1
619
- - Update to 0.25.2
620
- - Fixes CVE-2010-0156, tmpfile security issue (#502881)
621
- - Install auth.conf, puppetqd manpage, and queuing examples/docs
622
-
623
- * Wed Nov 25 2009 Jeroen van Meeuwen <j.van.meeuwen@ogd.nl> - 0.25.1-1
624
- - New upstream version
625
-
626
- * Tue Oct 27 2009 Todd Zullinger <tmz@pobox.com> - 0.25.1-0.3
627
- - Update to 0.25.1
628
- - Include the pi program and man page (R.I.Pienaar)
629
-
630
- * Sat Oct 17 2009 Todd Zullinger <tmz@pobox.com> - 0.25.1-0.2.rc2
631
- - Update to 0.25.1rc2
632
-
633
- * Tue Sep 22 2009 Todd Zullinger <tmz@pobox.com> - 0.25.1-0.1.rc1
634
- - Update to 0.25.1rc1
635
- - Move puppetca to puppet package, it has uses on client systems
636
- - Drop redundant %%doc from manpage %%file listings
637
-
638
- * Fri Sep 04 2009 Todd Zullinger <tmz@pobox.com> - 0.25.0-1
639
- - Update to 0.25.0
640
- - Fix permissions on /var/log/puppet (#495096)
641
- - Install emacs mode and vim syntax files (#491437)
642
- - Install ext/ directory in %%{_datadir}/%%{name} (/usr/share/puppet)
643
-
644
- * Mon May 04 2009 Todd Zullinger <tmz@pobox.com> - 0.25.0-0.1.beta1
645
- - Update to 0.25.0beta1
646
- - Make Augeas and SELinux requirements build time options
647
-
648
- * Mon Mar 23 2009 Todd Zullinger <tmz@pobox.com> - 0.24.8-1
649
- - Update to 0.24.8
650
- - Quiet output from %%pre
651
- - Use upstream install script
652
- - Increase required facter version to >= 1.5
653
-
654
- * Tue Dec 16 2008 Todd Zullinger <tmz@pobox.com> - 0.24.7-4
655
- - Remove redundant useradd from %%pre
656
-
657
- * Tue Dec 16 2008 Jeroen van Meeuwen <kanarip@kanarip.com> - 0.24.7-3
658
- - New upstream version
659
- - Set a static uid and gid (#472073, #471918, #471919)
660
- - Add a conditional requirement on libselinux-ruby for Fedora >= 9
661
- - Add a dependency on ruby-augeas
662
-
663
- * Wed Oct 22 2008 Todd Zullinger <tmz@pobox.com> - 0.24.6-1
664
- - Update to 0.24.6
665
- - Require ruby-shadow on Fedora and RHEL >= 5
666
- - Simplify Fedora/RHEL version checks for ruby(abi) and BuildArch
667
- - Require chkconfig and initstripts for preun, post, and postun scripts
668
- - Conditionally restart puppet in %%postun
669
- - Ensure %%preun, %%post, and %%postun scripts exit cleanly
670
- - Create puppet user/group according to Fedora packaging guidelines
671
- - Quiet a few rpmlint complaints
672
- - Remove useless %%pbuild macro
673
- - Make specfile more like the Fedora/EPEL template
674
-
675
- * Mon Jul 28 2008 David Lutterkort <dlutter@redhat.com> - 0.24.5-1
676
- - Add /usr/bin/puppetdoc
677
-
678
- * Thu Jul 24 2008 Brenton Leanhardt <bleanhar@redhat.com>
679
- - New version
680
- - man pages now ship with tarball
681
- - examples/code moved to root examples dir in upstream tarball
682
-
683
- * Tue Mar 25 2008 David Lutterkort <dlutter@redhat.com> - 0.24.4-1
684
- - Add man pages (from separate tarball, upstream will fix to
685
- include in main tarball)
686
-
687
- * Mon Mar 24 2008 David Lutterkort <dlutter@redhat.com> - 0.24.3-1
688
- - New version
689
-
690
- * Wed Mar 5 2008 David Lutterkort <dlutter@redhat.com> - 0.24.2-1
691
- - New version
692
-
693
- * Sat Dec 22 2007 David Lutterkort <dlutter@redhat.com> - 0.24.1-1
694
- - New version
695
-
696
- * Mon Dec 17 2007 David Lutterkort <dlutter@redhat.com> - 0.24.0-2
697
- - Use updated upstream tarball that contains yumhelper.py
698
-
699
- * Fri Dec 14 2007 David Lutterkort <dlutter@redhat.com> - 0.24.0-1
700
- - Fixed license
701
- - Munge examples/ to make rpmlint happier
702
-
703
- * Wed Aug 22 2007 David Lutterkort <dlutter@redhat.com> - 0.23.2-1
704
- - New version
705
-
706
- * Thu Jul 26 2007 David Lutterkort <dlutter@redhat.com> - 0.23.1-1
707
- - Remove old config files
708
-
709
- * Wed Jun 20 2007 David Lutterkort <dlutter@redhat.com> - 0.23.0-1
710
- - Install one puppet.conf instead of old config files, keep old configs
711
- around to ease update
712
- - Use plain shell commands in install instead of macros
713
-
714
- * Wed May 2 2007 David Lutterkort <dlutter@redhat.com> - 0.22.4-1
715
- - New version
716
-
717
- * Thu Mar 29 2007 David Lutterkort <dlutter@redhat.com> - 0.22.3-1
718
- - Claim ownership of _sysconfdir/puppet (bz 233908)
719
-
720
- * Mon Mar 19 2007 David Lutterkort <dlutter@redhat.com> - 0.22.2-1
721
- - Set puppet's homedir to /var/lib/puppet, not /var/puppet
722
- - Remove no-lockdir patch, not needed anymore
723
-
724
- * Mon Feb 12 2007 David Lutterkort <dlutter@redhat.com> - 0.22.1-2
725
- - Fix bogus config parameter in puppetd.conf
726
-
727
- * Sat Feb 3 2007 David Lutterkort <dlutter@redhat.com> - 0.22.1-1
728
- - New version
729
-
730
- * Fri Jan 5 2007 David Lutterkort <dlutter@redhat.com> - 0.22.0-1
731
- - New version
732
-
733
- * Mon Nov 20 2006 David Lutterkort <dlutter@redhat.com> - 0.20.1-2
734
- - Make require ruby(abi) and buildarch: noarch conditional for fedora 5 or
735
- later to allow building on older fedora releases
736
-
737
- * Mon Nov 13 2006 David Lutterkort <dlutter@redhat.com> - 0.20.1-1
738
- - New version
739
-
740
- * Mon Oct 23 2006 David Lutterkort <dlutter@redhat.com> - 0.20.0-1
741
- - New version
742
-
743
- * Tue Sep 26 2006 David Lutterkort <dlutter@redhat.com> - 0.19.3-1
744
- - New version
745
-
746
- * Mon Sep 18 2006 David Lutterkort <dlutter@redhat.com> - 0.19.1-1
747
- - New version
748
-
749
- * Thu Sep 7 2006 David Lutterkort <dlutter@redhat.com> - 0.19.0-1
750
- - New version
751
-
752
- * Tue Aug 1 2006 David Lutterkort <dlutter@redhat.com> - 0.18.4-2
753
- - Use /usr/bin/ruby directly instead of /usr/bin/env ruby in
754
- executables. Otherwise, initscripts break since pidof can't find the
755
- right process
756
-
757
- * Tue Aug 1 2006 David Lutterkort <dlutter@redhat.com> - 0.18.4-1
758
- - New version
759
-
760
- * Fri Jul 14 2006 David Lutterkort <dlutter@redhat.com> - 0.18.3-1
761
- - New version
762
-
763
- * Wed Jul 5 2006 David Lutterkort <dlutter@redhat.com> - 0.18.2-1
764
- - New version
765
-
766
- * Wed Jun 28 2006 David Lutterkort <dlutter@redhat.com> - 0.18.1-1
767
- - Removed lsb-config.patch and yumrepo.patch since they are upstream now
768
-
769
- * Mon Jun 19 2006 David Lutterkort <dlutter@redhat.com> - 0.18.0-1
770
- - Patch config for LSB compliance (lsb-config.patch)
771
- - Changed config moves /var/puppet to /var/lib/puppet, /etc/puppet/ssl
772
- to /var/lib/puppet, /etc/puppet/clases.txt to /var/lib/puppet/classes.txt,
773
- /etc/puppet/localconfig.yaml to /var/lib/puppet/localconfig.yaml
774
-
775
- * Fri May 19 2006 David Lutterkort <dlutter@redhat.com> - 0.17.2-1
776
- - Added /usr/bin/puppetrun to server subpackage
777
- - Backported patch for yumrepo type (yumrepo.patch)
778
-
779
- * Wed May 3 2006 David Lutterkort <dlutter@redhat.com> - 0.16.4-1
780
- - Rebuilt
781
-
782
- * Fri Apr 21 2006 David Lutterkort <dlutter@redhat.com> - 0.16.0-1
783
- - Fix default file permissions in server subpackage
784
- - Run puppetmaster as user puppet
785
- - rebuilt for 0.16.0
786
-
787
- * Mon Apr 17 2006 David Lutterkort <dlutter@redhat.com> - 0.15.3-2
788
- - Don't create empty log files in post-install scriptlet
789
-
790
- * Fri Apr 7 2006 David Lutterkort <dlutter@redhat.com> - 0.15.3-1
791
- - Rebuilt for new version
792
-
793
- * Wed Mar 22 2006 David Lutterkort <dlutter@redhat.com> - 0.15.1-1
794
- - Patch0: Run puppetmaster as root; running as puppet is not ready
795
- for primetime
796
-
797
- * Mon Mar 13 2006 David Lutterkort <dlutter@redhat.com> - 0.15.0-1
798
- - Commented out noarch; requires fix for bz184199
799
-
800
- * Mon Mar 6 2006 David Lutterkort <dlutter@redhat.com> - 0.14.0-1
801
- - Added BuildRequires for ruby
802
-
803
- * Wed Mar 1 2006 David Lutterkort <dlutter@redhat.com> - 0.13.5-1
804
- - Removed use of fedora-usermgmt. It is not required for Fedora Extras and
805
- makes it unnecessarily hard to use this rpm outside of Fedora. Just
806
- allocate the puppet uid/gid dynamically
807
-
808
- * Sun Feb 19 2006 David Lutterkort <dlutter@redhat.com> - 0.13.0-4
809
- - Use fedora-usermgmt to create puppet user/group. Use uid/gid 24. Fixed
810
- problem with listing fileserver.conf and puppetmaster.conf twice
811
-
812
- * Wed Feb 8 2006 David Lutterkort <dlutter@redhat.com> - 0.13.0-3
813
- - Fix puppetd.conf
814
-
815
- * Wed Feb 8 2006 David Lutterkort <dlutter@redhat.com> - 0.13.0-2
816
- - Changes to run puppetmaster as user puppet
817
-
818
- * Mon Feb 6 2006 David Lutterkort <dlutter@redhat.com> - 0.13.0-1
819
- - Don't mark initscripts as config files
820
-
821
- * Mon Feb 6 2006 David Lutterkort <dlutter@redhat.com> - 0.12.0-2
822
- - Fix BuildRoot. Add dist to release
823
-
824
- * Tue Jan 17 2006 David Lutterkort <dlutter@redhat.com> - 0.11.0-1
825
- - Rebuild
826
-
827
- * Thu Jan 12 2006 David Lutterkort <dlutter@redhat.com> - 0.10.2-1
828
- - Updated for 0.10.2 Fixed minor kink in how Source is given
829
-
830
- * Wed Jan 11 2006 David Lutterkort <dlutter@redhat.com> - 0.10.1-3
831
- - Added basic fileserver.conf
832
-
833
- * Wed Jan 11 2006 David Lutterkort <dlutter@redhat.com> - 0.10.1-1
834
- - Updated. Moved installation of library files to sitelibdir. Pulled
835
- initscripts into separate files. Folded tools rpm into server
836
-
837
- * Thu Nov 24 2005 Duane Griffin <d.griffin@psenterprise.com>
838
- - Added init scripts for the client
839
-
840
- * Wed Nov 23 2005 Duane Griffin <d.griffin@psenterprise.com>
841
- - First packaging