Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

puppet can'd find launchd job when using service resource

$
0
0
Hi, I am trying to register a service on a mac. I have had puppet create the plist file in /Library/LaunchDaemons. Here is my puppet code: file { '/Library/LaunchDaemons/com.elastic.filebeat.plist': ensure => present, mode => "0644", owner => "root", group => "wheel", content => template("${module_name}/com.elastic.filebeat.plist.erb"), require => [Exec["untar ${filename}"]], } service{ 'com.elastic.filebeat': ensure => running, enable => true, path => '/Library/LaunchDaemons', require => File['/Library/LaunchDaemons/com.elastic.filebeat.plist'], } Here is the plist file: Labelcom.elastic.filebeatProgramArguments/Applications/Filebeat/filebeat-c/Applications/Filebeat/filebeat.ymlKeepAlive The error is: > Error: Unable to find launchd plist> for job: filebeat Error:> /Stage[main]/Filebeat::Service/Service[filebeat]/ensure:> change from absent to running failed:> Unable to find launchd plist for job:> filebeat Any ideas? Thanks, Anthony

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>