puppet 7.9.0-x86-mingw32 → 7.12.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (292) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -2
  3. data/Gemfile.lock +12 -12
  4. data/{ext → examples/enc}/regexp_nodes/classes/databases +0 -0
  5. data/{ext → examples/enc}/regexp_nodes/classes/webservers +0 -0
  6. data/{ext → examples/enc}/regexp_nodes/environment/development +0 -0
  7. data/{ext → examples/enc}/regexp_nodes/parameters/service/prod +0 -0
  8. data/{ext → examples/enc}/regexp_nodes/parameters/service/qa +0 -0
  9. data/{ext → examples/enc}/regexp_nodes/parameters/service/sandbox +0 -0
  10. data/{ext → examples/enc}/regexp_nodes/regexp_nodes.rb +0 -0
  11. data/{ext → examples}/nagios/check_puppet.rb +2 -2
  12. data/ext/README.md +13 -0
  13. data/lib/puppet/application/agent.rb +4 -0
  14. data/lib/puppet/application/apply.rb +20 -2
  15. data/lib/puppet/application/resource.rb +15 -13
  16. data/lib/puppet/concurrent/thread_local_singleton.rb +1 -0
  17. data/lib/puppet/configurer.rb +236 -58
  18. data/lib/puppet/confine/variable.rb +1 -1
  19. data/lib/puppet/defaults.rb +66 -29
  20. data/lib/puppet/environments.rb +66 -26
  21. data/lib/puppet/facter_impl.rb +96 -0
  22. data/lib/puppet/file_serving/configuration/parser.rb +2 -0
  23. data/lib/puppet/file_serving/configuration.rb +2 -0
  24. data/lib/puppet/file_serving/mount/file.rb +4 -4
  25. data/lib/puppet/file_serving/mount/scripts.rb +24 -0
  26. data/lib/puppet/file_system/file_impl.rb +3 -1
  27. data/lib/puppet/file_system.rb +2 -1
  28. data/lib/puppet/forge.rb +1 -1
  29. data/lib/puppet/functions/find_template.rb +2 -2
  30. data/lib/puppet/http/client.rb +1 -1
  31. data/lib/puppet/http/redirector.rb +5 -0
  32. data/lib/puppet/http/service/compiler.rb +6 -1
  33. data/lib/puppet/indirector/catalog/compiler.rb +24 -6
  34. data/lib/puppet/indirector/catalog/rest.rb +1 -0
  35. data/lib/puppet/indirector/facts/facter.rb +6 -6
  36. data/lib/puppet/indirector/indirection.rb +1 -1
  37. data/lib/puppet/indirector/terminus.rb +4 -0
  38. data/lib/puppet/module/plan.rb +0 -1
  39. data/lib/puppet/module/task.rb +1 -1
  40. data/lib/puppet/module_tool/applications/installer.rb +8 -4
  41. data/lib/puppet/module_tool/applications/uninstaller.rb +1 -1
  42. data/lib/puppet/module_tool/applications/upgrader.rb +1 -1
  43. data/lib/puppet/network/http/api/indirected_routes.rb +1 -1
  44. data/lib/puppet/node/environment.rb +10 -11
  45. data/lib/puppet/pal/pal_impl.rb +1 -1
  46. data/lib/puppet/parser/resource.rb +1 -1
  47. data/lib/puppet/parser/scope.rb +8 -7
  48. data/lib/puppet/parser/templatewrapper.rb +1 -0
  49. data/lib/puppet/pops/evaluator/closure.rb +7 -5
  50. data/lib/puppet/pops/evaluator/runtime3_resource_support.rb +1 -0
  51. data/lib/puppet/pops/lookup/lookup_adapter.rb +3 -2
  52. data/lib/puppet/pops/model/ast.rb +1 -0
  53. data/lib/puppet/pops/model/factory.rb +14 -13
  54. data/lib/puppet/pops/parser/egrammar.ra +2 -2
  55. data/lib/puppet/pops/parser/eparser.rb +752 -753
  56. data/lib/puppet/pops/parser/lexer2.rb +69 -68
  57. data/lib/puppet/pops/parser/slurp_support.rb +1 -0
  58. data/lib/puppet/pops/serialization/to_data_converter.rb +18 -6
  59. data/lib/puppet/pops/serialization/to_stringified_converter.rb +1 -1
  60. data/lib/puppet/pops/types/type_formatter.rb +7 -6
  61. data/lib/puppet/pops/types/types.rb +1 -1
  62. data/lib/puppet/provider/aix_object.rb +1 -1
  63. data/lib/puppet/provider/group/groupadd.rb +5 -2
  64. data/lib/puppet/provider/package/pkg.rb +19 -2
  65. data/lib/puppet/provider/package/puppet_gem.rb +1 -1
  66. data/lib/puppet/provider/package/puppetserver_gem.rb +1 -1
  67. data/lib/puppet/provider/package/yum.rb +1 -1
  68. data/lib/puppet/provider/service/base.rb +1 -1
  69. data/lib/puppet/provider/service/init.rb +5 -5
  70. data/lib/puppet/provider/service/launchd.rb +2 -2
  71. data/lib/puppet/provider/service/redhat.rb +1 -1
  72. data/lib/puppet/provider/service/smf.rb +3 -3
  73. data/lib/puppet/provider/service/systemd.rb +2 -2
  74. data/lib/puppet/provider/service/upstart.rb +5 -5
  75. data/lib/puppet/provider/user/aix.rb +44 -1
  76. data/lib/puppet/provider/user/directoryservice.rb +1 -1
  77. data/lib/puppet/provider/user/useradd.rb +72 -16
  78. data/lib/puppet/provider.rb +1 -1
  79. data/lib/puppet/reference/providers.rb +2 -2
  80. data/lib/puppet/resource/catalog.rb +1 -1
  81. data/lib/puppet/resource/type_collection.rb +2 -1
  82. data/lib/puppet/resource.rb +38 -5
  83. data/lib/puppet/runtime.rb +11 -1
  84. data/lib/puppet/settings/file_setting.rb +3 -8
  85. data/lib/puppet/settings.rb +2 -2
  86. data/lib/puppet/test/test_helper.rb +4 -1
  87. data/lib/puppet/transaction/persistence.rb +11 -1
  88. data/lib/puppet/transaction/report.rb +15 -1
  89. data/lib/puppet/type/exec.rb +19 -2
  90. data/lib/puppet/type/file.rb +6 -6
  91. data/lib/puppet/type/filebucket.rb +2 -2
  92. data/lib/puppet/type/group.rb +0 -1
  93. data/lib/puppet/type/resources.rb +1 -1
  94. data/lib/puppet/type/service.rb +8 -3
  95. data/lib/puppet/type/user.rb +0 -1
  96. data/lib/puppet/type.rb +1 -1
  97. data/lib/puppet/util/autoload.rb +1 -1
  98. data/lib/puppet/util/command_line.rb +1 -1
  99. data/lib/puppet/util/filetype.rb +2 -2
  100. data/lib/puppet/util/json.rb +3 -0
  101. data/lib/puppet/util/log.rb +1 -2
  102. data/lib/puppet/util/logging.rb +1 -25
  103. data/lib/puppet/util/pidlock.rb +1 -1
  104. data/lib/puppet/util/rdoc/parser/puppet_parser_core.rb +1 -1
  105. data/lib/puppet/util/suidmanager.rb +1 -2
  106. data/lib/puppet/util/tagging.rb +1 -0
  107. data/lib/puppet/util/windows/service.rb +0 -5
  108. data/lib/puppet/util/windows/user.rb +0 -1
  109. data/lib/puppet/util/windows.rb +3 -0
  110. data/lib/puppet/util.rb +4 -3
  111. data/lib/puppet/version.rb +1 -1
  112. data/lib/puppet.rb +2 -6
  113. data/locales/puppet.pot +265 -221
  114. data/man/man5/puppet.conf.5 +73 -25
  115. data/man/man8/puppet-agent.8 +4 -1
  116. data/man/man8/puppet-apply.8 +1 -1
  117. data/man/man8/puppet-catalog.8 +1 -1
  118. data/man/man8/puppet-config.8 +1 -1
  119. data/man/man8/puppet-describe.8 +1 -1
  120. data/man/man8/puppet-device.8 +1 -1
  121. data/man/man8/puppet-doc.8 +1 -1
  122. data/man/man8/puppet-epp.8 +1 -1
  123. data/man/man8/puppet-facts.8 +1 -1
  124. data/man/man8/puppet-filebucket.8 +1 -1
  125. data/man/man8/puppet-generate.8 +1 -1
  126. data/man/man8/puppet-help.8 +1 -1
  127. data/man/man8/puppet-lookup.8 +1 -1
  128. data/man/man8/puppet-module.8 +3 -3
  129. data/man/man8/puppet-node.8 +1 -1
  130. data/man/man8/puppet-parser.8 +1 -1
  131. data/man/man8/puppet-plugin.8 +1 -1
  132. data/man/man8/puppet-report.8 +1 -1
  133. data/man/man8/puppet-resource.8 +1 -1
  134. data/man/man8/puppet-script.8 +1 -1
  135. data/man/man8/puppet-ssl.8 +1 -1
  136. data/man/man8/puppet.8 +2 -2
  137. data/spec/fixtures/integration/application/agent/cached_deferred_catalog.json +2 -1
  138. data/spec/fixtures/integration/application/agent/lib/facter/agent_spec_role.rb +3 -0
  139. data/spec/fixtures/integration/l10n/envs/prod/modules/demo/Gemfile +4 -0
  140. data/spec/fixtures/integration/l10n/envs/prod/modules/demo/Rakefile +3 -0
  141. data/spec/fixtures/integration/l10n/envs/prod/modules/demo/lib/puppet/functions/l10n.rb +8 -0
  142. data/spec/fixtures/integration/l10n/envs/prod/modules/demo/locales/config.yaml +25 -0
  143. data/spec/fixtures/integration/l10n/envs/prod/modules/demo/locales/ja/puppet-l10n.po +19 -0
  144. data/spec/fixtures/integration/l10n/envs/prod/modules/demo/locales/puppet-l10n.pot +20 -0
  145. data/spec/fixtures/integration/l10n/envs/prod/modules/demo/metadata.json +8 -0
  146. data/spec/integration/application/agent_spec.rb +146 -52
  147. data/spec/integration/application/filebucket_spec.rb +5 -0
  148. data/spec/integration/configurer_spec.rb +18 -2
  149. data/spec/integration/indirector/facts/facter_spec.rb +3 -3
  150. data/spec/integration/l10n/compiler_spec.rb +37 -0
  151. data/spec/integration/parser/pcore_resource_spec.rb +10 -0
  152. data/spec/integration/transaction/report_spec.rb +1 -1
  153. data/spec/integration/type/file_spec.rb +2 -2
  154. data/spec/integration/type/package_spec.rb +6 -6
  155. data/spec/integration/util/rdoc/parser_spec.rb +1 -1
  156. data/spec/integration/util/windows/process_spec.rb +1 -9
  157. data/spec/lib/puppet_spec/modules.rb +13 -2
  158. data/spec/lib/puppet_spec/puppetserver.rb +15 -0
  159. data/spec/shared_behaviours/documentation_on_faces.rb +0 -2
  160. data/spec/shared_contexts/l10n.rb +27 -0
  161. data/spec/spec_helper.rb +1 -10
  162. data/spec/unit/application/apply_spec.rb +76 -56
  163. data/spec/unit/application/resource_spec.rb +29 -0
  164. data/spec/unit/configurer_spec.rb +353 -57
  165. data/spec/unit/environments_spec.rb +150 -1
  166. data/spec/unit/facter_impl_spec.rb +31 -0
  167. data/spec/unit/file_bucket/dipper_spec.rb +2 -2
  168. data/spec/unit/file_serving/configuration/parser_spec.rb +23 -0
  169. data/spec/unit/file_serving/configuration_spec.rb +12 -4
  170. data/spec/unit/file_serving/mount/scripts_spec.rb +69 -0
  171. data/spec/unit/file_system_spec.rb +7 -0
  172. data/spec/unit/functions/logging_spec.rb +1 -0
  173. data/spec/unit/functions/lookup_spec.rb +64 -0
  174. data/spec/unit/http/client_spec.rb +58 -1
  175. data/spec/unit/http/service/compiler_spec.rb +8 -0
  176. data/spec/unit/indirector/catalog/compiler_spec.rb +87 -0
  177. data/spec/unit/indirector/catalog/rest_spec.rb +8 -0
  178. data/spec/unit/indirector/indirection_spec.rb +10 -3
  179. data/spec/unit/interface/action_spec.rb +0 -9
  180. data/spec/unit/module_spec.rb +14 -0
  181. data/spec/unit/module_tool/applications/installer_spec.rb +39 -12
  182. data/spec/unit/network/formats_spec.rb +6 -0
  183. data/spec/unit/pops/parser/parse_containers_spec.rb +0 -11
  184. data/spec/unit/pops/serialization/to_from_hr_spec.rb +58 -0
  185. data/spec/unit/pops/serialization/to_stringified_spec.rb +5 -0
  186. data/spec/unit/pops/types/type_calculator_spec.rb +6 -0
  187. data/spec/unit/provider/package/gem_spec.rb +1 -1
  188. data/spec/unit/provider/package/pip2_spec.rb +1 -1
  189. data/spec/unit/provider/package/pip3_spec.rb +1 -1
  190. data/spec/unit/provider/package/pip_spec.rb +1 -1
  191. data/spec/unit/provider/package/pkg_spec.rb +34 -5
  192. data/spec/unit/provider/package/puppet_gem_spec.rb +1 -1
  193. data/spec/unit/provider/package/puppetserver_gem_spec.rb +1 -1
  194. data/spec/unit/provider/service/launchd_spec.rb +11 -0
  195. data/spec/unit/provider/service/systemd_spec.rb +1 -1
  196. data/spec/unit/provider/user/aix_spec.rb +100 -0
  197. data/spec/unit/provider/user/directoryservice_spec.rb +1 -1
  198. data/spec/unit/provider/user/useradd_spec.rb +43 -2
  199. data/spec/unit/provider_spec.rb +4 -4
  200. data/spec/unit/puppet_spec.rb +12 -4
  201. data/spec/unit/resource/catalog_spec.rb +14 -1
  202. data/spec/unit/resource_spec.rb +58 -2
  203. data/spec/unit/settings/file_setting_spec.rb +10 -7
  204. data/spec/unit/type/service_spec.rb +27 -0
  205. data/spec/unit/type_spec.rb +2 -2
  206. data/spec/unit/util/autoload_spec.rb +25 -8
  207. data/spec/unit/util/logging_spec.rb +2 -0
  208. data/tasks/parallel.rake +3 -3
  209. metadata +37 -94
  210. data/ext/README.environment +0 -8
  211. data/ext/dbfix.sql +0 -132
  212. data/ext/debian/README.Debian +0 -8
  213. data/ext/debian/README.source +0 -2
  214. data/ext/debian/TODO.Debian +0 -1
  215. data/ext/debian/changelog.erb +0 -1122
  216. data/ext/debian/compat +0 -1
  217. data/ext/debian/control +0 -144
  218. data/ext/debian/copyright +0 -339
  219. data/ext/debian/docs +0 -1
  220. data/ext/debian/fileserver.conf +0 -41
  221. data/ext/debian/puppet-common.dirs +0 -13
  222. data/ext/debian/puppet-common.install +0 -3
  223. data/ext/debian/puppet-common.lintian-overrides +0 -5
  224. data/ext/debian/puppet-common.manpages +0 -28
  225. data/ext/debian/puppet-common.postinst +0 -35
  226. data/ext/debian/puppet-common.postrm +0 -33
  227. data/ext/debian/puppet-el.dirs +0 -1
  228. data/ext/debian/puppet-el.emacsen-install +0 -25
  229. data/ext/debian/puppet-el.emacsen-remove +0 -11
  230. data/ext/debian/puppet-el.emacsen-startup +0 -9
  231. data/ext/debian/puppet-el.install +0 -1
  232. data/ext/debian/puppet-testsuite.install +0 -2
  233. data/ext/debian/puppet-testsuite.lintian-overrides +0 -4
  234. data/ext/debian/puppet.lintian-overrides +0 -3
  235. data/ext/debian/puppet.logrotate +0 -20
  236. data/ext/debian/puppet.postinst +0 -20
  237. data/ext/debian/puppet.postrm +0 -20
  238. data/ext/debian/puppet.preinst +0 -20
  239. data/ext/debian/puppetmaster-common.install +0 -2
  240. data/ext/debian/puppetmaster-common.manpages +0 -2
  241. data/ext/debian/puppetmaster-common.postinst +0 -6
  242. data/ext/debian/puppetmaster-passenger.dirs +0 -4
  243. data/ext/debian/puppetmaster-passenger.postinst +0 -162
  244. data/ext/debian/puppetmaster-passenger.postrm +0 -61
  245. data/ext/debian/puppetmaster.README.debian +0 -17
  246. data/ext/debian/puppetmaster.default +0 -14
  247. data/ext/debian/puppetmaster.init +0 -137
  248. data/ext/debian/puppetmaster.lintian-overrides +0 -3
  249. data/ext/debian/puppetmaster.postinst +0 -20
  250. data/ext/debian/puppetmaster.postrm +0 -5
  251. data/ext/debian/puppetmaster.preinst +0 -22
  252. data/ext/debian/rules +0 -132
  253. data/ext/debian/source/format +0 -1
  254. data/ext/debian/source/options +0 -1
  255. data/ext/debian/vim-puppet.README.Debian +0 -13
  256. data/ext/debian/vim-puppet.dirs +0 -5
  257. data/ext/debian/vim-puppet.yaml +0 -7
  258. data/ext/debian/watch +0 -2
  259. data/ext/freebsd/puppetd +0 -26
  260. data/ext/freebsd/puppetmasterd +0 -26
  261. data/ext/gentoo/conf.d/puppet +0 -5
  262. data/ext/gentoo/conf.d/puppetmaster +0 -12
  263. data/ext/gentoo/init.d/puppet +0 -38
  264. data/ext/gentoo/init.d/puppetmaster +0 -51
  265. data/ext/gentoo/puppet/fileserver.conf +0 -41
  266. data/ext/ips/puppet-agent +0 -44
  267. data/ext/ips/puppet-master +0 -44
  268. data/ext/ips/puppet.p5m.erb +0 -12
  269. data/ext/ips/puppetagent.xml +0 -42
  270. data/ext/ips/puppetmaster.xml +0 -42
  271. data/ext/ips/rules +0 -19
  272. data/ext/ips/transforms +0 -34
  273. data/ext/ldap/puppet.schema +0 -24
  274. data/ext/logcheck/puppet +0 -23
  275. data/ext/osx/file_mapping.yaml +0 -28
  276. data/ext/osx/postflight.erb +0 -109
  277. data/ext/osx/preflight.erb +0 -52
  278. data/ext/osx/prototype.plist.erb +0 -38
  279. data/ext/redhat/fileserver.conf +0 -41
  280. data/ext/redhat/logrotate +0 -21
  281. data/ext/redhat/puppet.spec.erb +0 -841
  282. data/ext/redhat/server.init +0 -128
  283. data/ext/redhat/server.sysconfig +0 -13
  284. data/ext/solaris/pkginfo +0 -6
  285. data/ext/solaris/smf/puppetd.xml +0 -77
  286. data/ext/solaris/smf/puppetmasterd.xml +0 -77
  287. data/ext/solaris/smf/svc-puppetd +0 -71
  288. data/ext/solaris/smf/svc-puppetmasterd +0 -67
  289. data/ext/suse/puppet.spec +0 -310
  290. data/ext/suse/server.init +0 -173
  291. data/ext/yaml_nodes.rb +0 -105
  292. data/spec/unit/indirector/store_configs_spec.rb +0 -7
@@ -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