RETIRED, Lightweight composition layer for Puppet TripleO
Go to file
Michele Baldessari 8e6e49d28d Add ability to noop a service
We want also be able to noop_resource('service'). In order to do that we
also add stubs for status, start and stop. Without this it fails with:
[root@controller-0 openstack-puppet]# NET_HOST=true DEBUG=True PROCESS_COUNT=1 CONFIG=/root/bandini.json python3 /var/lib/container-puppet/container-puppet.py 2>&1 | tee /tmp/puppet.log |grep Error:
<13>Oct  4 10:28:26 puppet-user: Error: /Service[rsyncd]: Could not evaluate: undefined method `status' for Service[rsyncd](provider=noop):Puppet::Type::Service::ProviderNoop
<13>Oct  4 10:28:26 puppet-user: Error: /Service[rsyncd]: Failed to call refresh: undefined method `status' for Service[rsyncd](provider=noop):Puppet::Type::Service::ProviderNoop
<13>Oct  4 10:28:26 puppet-user: Error: /Service[rsyncd]: undefined method `status' for Service[rsyncd](provider=noop):Puppet::Type::Service::ProviderNoop
<13>Oct  4 10:28:26 puppet-user: Error: /Service[rsyncd]: Could not evaluate: undefined method `status' for Service[rsyncd](provider=noop):Puppet::Type::Service::ProviderNoop
<13>Oct  4 10:28:26 puppet-user: Error: /Service[rsyncd]: Failed to call refresh: undefined method `status' for Service[rsyncd](provider=noop):Puppet::Type::Service::ProviderNoop
<13>Oct  4 10:28:26 puppet-user: Error: /Service[rsyncd]: undefined method `status' for Service[rsyncd](provider=noop):Puppet::Type::Service::ProviderNoop
[root@controller-0 openstack-puppet]# NET_HOST=true DEBUG=True PROCESS_COUNT=1 CONFIG=/root/bandini.json python3 /var/lib/container-puppet/container-puppet.py 2>&1 | tee /tmp/puppet.log |grep Error:
<13>Oct  4 10:29:03 puppet-user: Error: Could not set 'running' on ensure: undefined method `start' for Service[rsyncd](provider=noop):Puppet::Type::Service::ProviderNoop
<13>Oct  4 10:29:03 puppet-user: Error: Could not set 'running' on ensure: undefined method `start' for Service[rsyncd](provider=noop):Puppet::Type::Service::ProviderNoop

Related-Bug: #1945962

Change-Id: I9ee8108fe749e787b82f8f4c226f44685ab21a99
2021-10-04 16:18:07 +02:00
doc Switch to newer openstackdocstheme and reno versions 2020-06-03 20:33:05 +02:00
files Remove puppet-certmonger related puppet-files 2021-04-21 09:56:05 +02:00
lib Add ability to noop a service 2021-10-04 16:18:07 +02:00
manifests Merge "Add support for share backend availability zones" 2021-10-01 18:43:23 +00:00
releasenotes Merge "Add support for share backend availability zones" 2021-10-01 18:43:23 +00:00
spec Merge "Add support for share backend availability zones" 2021-10-01 18:43:23 +00:00
templates Add a new bind-mount for vTPM logs 2021-09-29 09:06:11 +00:00
zuul.d Replace deprecated zuul template tripleo-standalone-multinode-ipa 2021-03-04 14:13:29 +02:00
.gitignore Dissuade .gitignore references to personal tools 2018-10-08 11:47:08 +08:00
.gitreview OpenDev Migration Patch 2019-04-19 19:35:27 +00:00
.sync.yml Initial msync run for all Puppet OpenStack modules 2015-08-18 14:30:54 +02:00
Gemfile Use openstack_spec_helper from zuul checkout 2020-08-30 23:06:53 +02:00
LICENSE Add basic structure for a Puppet module 2015-02-02 11:39:21 -05:00
Puppetfile_extras Remove unused modules from testing 2021-09-27 09:49:36 -06:00
README.md Add the missing ':' in README 2018-07-28 07:57:53 +00:00
Rakefile Composable HA 2017-01-25 19:32:31 +00:00
bindep.txt Add Puppet package to bindep, for module build 2017-10-27 13:50:15 -07:00
metadata.json Bump major for metadata.json to mark the X cycle 2021-06-11 10:30:11 +03:00
setup.cfg setup.cfg: Replace dashes with underscores 2021-05-11 20:43:31 +09:00
setup.py chmod +x setup.py 2017-10-06 12:28:56 -07:00
tox.ini Replace deprecated UPPER_CONSTRAINTS_FILE variable 2020-11-04 11:09:29 +01:00

README.md

Team and repository tags

Team and repository tags

puppet-tripleo

Lightweight composition layer for Puppet TripleO.

Contributing