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

Resource ["File", "/var/lib/rundeck/libext"] already declared #77

Closed
ozbillwang opened this issue May 25, 2015 · 1 comment
Closed

Resource ["File", "/var/lib/rundeck/libext"] already declared #77

ozbillwang opened this issue May 25, 2015 · 1 comment
Labels
bug Something isn't working

Comments

@ozbillwang
Copy link
Contributor

Got this error message, when try to set the plugin via hiera yaml file:

Error: Failed to apply catalog: Cannot alias File[/var/lib/rundeck/libext/] to ["/var/lib/rundeck/libext"] at /etc/puppet/environments/devtest_coreaws_MC_2230/dist/modules/rundeck/manifests/config/plugin.pp:77; resource ["File", "/var/lib/rundeck/libext"] already declared

Related hiera yaml file:

cat rundeck.yaml:

rundeck::plugin:
    name: rundeck-ec2-nodes-plugin-1.5.jar
    source: https://github.com/rundeck-plugins/rundeck-ec2-nodes-plugin/releases/download/1.5/rundeck-ec2-nodes-plugin-1.5.jar

Related rundeck pp file:

  rundeck::config::plugin{ 'rundeck-ec2-nodes-plugin':
#    name   => 'rundeck-ec2-nodes-plugin-1.5.jar',
#    source => 'https://github.com/rundeck-plugins/rundeck-ec2-nodes-plugin/releases/download/1.5/rundeck-ec2-nodes-plugin-1.5.jar'
     name => $::rundeck::plugin::name,
     source => $::rundeck::plugin::source
  }

If I give the name and source directly (commented in above pp code), code works fine and plugin is installed.

@liamjbennett
Copy link
Member

Are you sure the spacing in your yaml is correct?

I have been unable to reproduce this issue so I am closing for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants