Skip to content
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

Provider sensu_gem is not functional on this host #629

Closed
cdenneen opened this issue Mar 29, 2017 · 1 comment · Fixed by #632
Closed

Provider sensu_gem is not functional on this host #629

cdenneen opened this issue Mar 29, 2017 · 1 comment · Fixed by #632

Comments

@cdenneen
Copy link
Contributor

Windows 2012R2 Standard:

  Info: Applying configuration version '1490821490'
  Notice: /Stage[main]/Sensu::Package/Remote_file[C:\Windows\Temp\sensu-0.27.0-1.msi]/ensure: created
  Notice: /Stage[main]/Sensu::Package/Package[Sensu]/ensure: created
  Notice: /Stage[main]/Sensu::Package/File[C:/opt/sensu/conf.d]/ensure: created
  Notice: /Stage[main]/Sensu::Package/File[C:/opt/sensu/conf.d/handlers]/ensure: created
  Notice: /Stage[main]/Sensu::Package/File[C:/opt/sensu/conf.d/checks]/ensure: created
  Notice: /Stage[main]/Sensu::Package/File[C:/opt/sensu/conf.d/filters]/ensure: created
  Notice: /Stage[main]/Sensu::Package/File[C:/opt/sensu/conf.d/extensions]/ensure: created
  Notice: /Stage[main]/Sensu::Package/File[C:/opt/sensu/conf.d/mutators]/ensure: created
  Notice: /Stage[main]/Sensu::Package/File[C:/opt/sensu/handlers]/ensure: created
  Notice: /Stage[main]/Sensu::Package/File[C:/opt/sensu/extensions]/ensure: created
  Notice: /Stage[main]/Sensu::Package/File[C:/opt/sensu/extensions/handlers]/ensure: created
  Notice: /Stage[main]/Sensu::Package/File[C:/opt/sensu/mutators]/ensure: created
  Notice: /Stage[main]/Sensu::Package/File[C:/opt/sensu/plugins]/ensure: created
  Error: /Stage[main]/Sensu::Package/Package[sensu-plugin]: Provider sensu_gem is not functional on this host
  Info: Class[Sensu::Package]: Unscheduling all events on Class[Sensu::Package]
  Notice: /Stage[main]/Sensu::Rabbitmq::Config/File[C:/opt/sensu/conf.d/rabbitmq.json]: Dependency Package[sensu-plugin] has failures: true
  Warning: /Stage[main]/Sensu::Rabbitmq::Config/File[C:/opt/sensu/conf.d/rabbitmq.json]: Skipping because of failed dependencies
  Notice: /Stage[main]/Sensu::Rabbitmq::Config/Sensu_rabbitmq_config[win-2012-std.domain.loc]: Dependency Package[sensu-plugin] has failures: true
  Warning: /Stage[main]/Sensu::Rabbitmq::Config/Sensu_rabbitmq_config[win-2012-std.domain.loc]: Skipping because of failed dependencies
  Notice: /Stage[main]/Sensu::Api::Config/File[C:/opt/sensu/conf.d/api.json]: Dependency Package[sensu-plugin] has failures: true
  Warning: /Stage[main]/Sensu::Api::Config/File[C:/opt/sensu/conf.d/api.json]: Skipping because of failed dependencies
  Notice: /Stage[main]/Sensu::Api::Config/Sensu_api_config[win-2012-std.domain.loc]: Dependency Package[sensu-plugin] has failures: true
  Warning: /Stage[main]/Sensu::Api::Config/Sensu_api_config[win-2012-std.domain.loc]: Skipping because of failed dependencies
  Notice: /Stage[main]/Sensu::Redis::Config/File[C:/opt/sensu/conf.d/redis.json]: Dependency Package[sensu-plugin] has failures: true
  Warning: /Stage[main]/Sensu::Redis::Config/File[C:/opt/sensu/conf.d/redis.json]: Skipping because of failed dependencies
  Notice: /Stage[main]/Sensu::Redis::Config/Sensu_redis_config[win-2012-std.domain.loc]: Dependency Package[sensu-plugin] has failures: true
  Warning: /Stage[main]/Sensu::Redis::Config/Sensu_redis_config[win-2012-std.domain.loc]: Skipping because of failed dependencies
  Notice: /Stage[main]/Sensu::Client::Config/File[C:/opt/sensu/conf.d/client.json]: Dependency Package[sensu-plugin] has failures: true
  Warning: /Stage[main]/Sensu::Client::Config/File[C:/opt/sensu/conf.d/client.json]: Skipping because of failed dependencies
  Notice: /Stage[main]/Sensu::Client::Config/Sensu_client_config[win-2012-std.domain.loc]: Dependency Package[sensu-plugin] has failures: true
  Warning: /Stage[main]/Sensu::Client::Config/Sensu_client_config[win-2012-std.domain.loc]: Skipping because of failed dependencies
  Notice: /Stage[main]/Sensu::Client::Service/File[C:/opt/sensu/bin/sensu-client.xml]: Dependency Package[sensu-plugin] has failures: true
  Warning: /Stage[main]/Sensu::Client::Service/File[C:/opt/sensu/bin/sensu-client.xml]: Skipping because of failed dependencies
  Notice: /Stage[main]/Sensu::Client::Service/Exec[install-sensu-client]: Dependency Package[sensu-plugin] has failures: true
  Warning: /Stage[main]/Sensu::Client::Service/Exec[install-sensu-client]: Skipping because of failed dependencies
  Notice: /Stage[main]/Sensu::Client::Service/Service[sensu-client]: Dependency Package[sensu-plugin] has failures: true
  Warning: /Stage[main]/Sensu::Client::Service/Service[sensu-client]: Skipping because of failed dependencies
  Notice: /Stage[main]/Sensu::Enterprise::Dashboard/Anchor[sensu::enterprise::dashboard::begin]: Dependency Package[sensu-plugin] has failures: true
  Warning: /Stage[main]/Sensu::Enterprise::Dashboard/Anchor[sensu::enterprise::dashboard::begin]: Skipping because of failed dependencies
  Notice: /Stage[main]/Sensu::Enterprise::Dashboard/Anchor[sensu::enterprise::dashboard::end]: Dependency Package[sensu-plugin] has failures: true
  Warning: /Stage[main]/Sensu::Enterprise::Dashboard/Anchor[sensu::enterprise::dashboard::end]: Skipping because of failed dependencies
  Notice: /Stage[main]/Sensu/Anchor[sensu::end]: Dependency Package[sensu-plugin] has failures: true
  Warning: /Stage[main]/Sensu/Anchor[sensu::end]: Skipping because of failed dependencies
  Notice: /Stage[main]/Profile_base::Sensu/File[C:/opt/sensu/plugins/echo.sh]: Dependency Package[sensu-plugin] has failures: true
  Warning: /Stage[main]/Profile_base::Sensu/File[C:/opt/sensu/plugins/echo.sh]: Skipping because of failed dependencies
  Error: /Stage[main]/Profile_base::Sensu/Package[sensu-plugins-mailer]: Provider sensu_gem is not functional on this host
  Error: /Stage[main]/Profile_base::Sensu/Package[sensu-plugins-disk-checks]: Provider sensu_gem is not functional on this host
  Error: /Stage[main]/Profile_base::Sensu/Package[sensu-plugins-http]: Provider sensu_gem is not functional on this host
  Error: /Stage[main]/Profile_base::Sensu/Package[sensu-plugins-windows]: Provider sensu_gem is not functional on this host
  Error: /Stage[main]/Profile_base::Sensu/Package[sensu-plugins-iis]: Provider sensu_gem is not functional on this host
  Error: /Stage[main]/Profile_base::Sensu/Package[sensu-plugins-vmstats]: Provider sensu_gem is not functional on this host
  Error: /Stage[main]/Profile_base::Sensu/Package[vmstat]: Provider sensu_gem is not functional on this host
  Error: /Stage[main]/Profile_base::Sensu/Package[sensu-plugins-puppet]: Provider sensu_gem is not functional on this host
  Info: Creating state file C:/ProgramData/PuppetLabs/puppet/cache/state/state.yaml
  Notice: Applied catalog in 24.92 seconds
@cdenneen
Copy link
Contributor Author

Found it... it's because the provider is looking for a file that gets installed by the package... so the first windows run if the package hasn't laid the files down... it defaults to the unix path for gem... which fails... second run it finds the file and sensu_gem provider works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant