8e6e49d28d
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 |
||
---|---|---|
.. | ||
docker_volumes_to_storage_maps.rb | ||
extract_id.rb | ||
ip_to_erl_format.rb | ||
list_to_hash.rb | ||
merge_hash_values.rb | ||
mysql_ed25519_password.rb | ||
netmask_to_cidr.rb | ||
noop_resource.rb | ||
pacemaker_bundle_replicas.rb | ||
qdr_ssl_certificate.rb | ||
tripleo_swift_devices.rb |