-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue with running the sensu module, Invalid resource type sensu at /root/p_sensu/site.pp:4 on node #25
Comments
What does your site.pp look like? |
i copied off the README file, it seems that there has been a lot of change to the repo, i think it has been refracted so the following content might needs to be updated too
node "sensu-server.foo.com" {
sensu { "${::fqdn}-sensu-server":
rabbitmq_password => "secret",
server => true,
plugins => [ 'puppet:///data/sensu/plugins/ntp.rb',
'puppet:///data/sensu/plugins/postfix.rb'
]}
|
There has been a ton of refactoring, yeah, and the readme on the master branch is not 100% representative of the code that is in master. The plugins parameter was added to the readme around an hour ago - is that what you currently have in your site.pp we're debugging? |
sorry i dont have the site.pp anymore, i copy the snippet from yesterday README file. i guess i will wait some time for the repo to stabilize. Thanks |
Closed. |
I am trying to use Puppetfile to download and install sensu server but got the following error, any help is greatly appreciated. thanks
Debug: importing '/root/p_sensu/modules/sensu/manifests/init.pp' in environment production Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type sensu at /root/p_sensu/site.pp:4 on node myvmname
The command i ran was
cd /root/p_sensu/ ; puppet apply --modulepath=/root/p_sensu/modules site.pp --ignorecache --verbose --noop --debug
i do see that the modules are in the right path
[root@chao-test8 p_sensu]# ls /root/p_sensu/modules/
apt gcc rabbitmq redis sensu stdlib wget
The text was updated successfully, but these errors were encountered: