Issue #23187 has been updated by Loic Dachary.

Subject changed from service status is ignored ( puppet 3.2 + ) to service 
status is ignored ( puppet 3.2 + upstart provider )

----------------------------------------
Bug #23187: service status is ignored ( puppet 3.2 + upstart provider )
https://projects.puppetlabs.com/issues/23187#change-99942

* Author: Loic Dachary
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: service
* Target version: 3.x
* Affected Puppet version: 3.2.4
* Keywords: 
* Branch: 
----------------------------------------
<pre>
cat > test.pp &lt;&lt;EOF
notice("os = $::operatingsystem, puppetversion = $::puppetversion")
exec { 'run':
  command => "/sbin/status network-interface INTERFACE=eth0",
  logoutput => true,
}
->
service { 'network-interface':
  ensure   => running,
  status   => '/sbin/status network-interface INTERFACE=eth0',
}
EOF
puppet apply test.pp
</pre>
will output the following
<pre>
Notice: Scope(Class[main]): os = Ubuntu, puppetversion = 3.2.4
Notice: /Stage[main]//Exec[run]/returns: network-interface (eth0) start/running
Notice: /Stage[main]//Exec[run]/returns: executed successfully
Error: /Stage[main]//Service[network-interface]: Could not evaluate: Execution 
of '/sbin/status network-interface' returned 1: status: Unknown parameter: 
INTERFACE
Notice: Finished catalog run in 0.27 seconds
</pre>



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to