Comments (20)
rundeck::auth_config:
file:
auth_users:
- username: 'puppet'
password: 'puppet'
roles:
- user
- admin
- architect
- deploy
- build
active_directory:
server: 'server-01.corp.company.com'
bind_dn: 'CN=x,CN=Users,DC=corp,DC=company,DC=com'
bind_password: 'notTheRealPassword'
user_base_dn: 'DC=corp,DC=company,DC=com'
role_base_dn: 'DC=corp,DC=company,DC=com'
from puppet-rundeck.
This works for me, thanks @liamjbennett
Could you please provide the same for rundeck::plugin::name
and rundeck::plugin::source
?
Can you paste a total sample of hiera yaml file and checkin the repository for future reference? it will save a lot of time for others who need to use this puppet module.
from puppet-rundeck.
Yes, the README does need further examples and I will keep this issue open until I have written some
from puppet-rundeck.
Thanks @liamjbennett, waiting for the updates.
from puppet-rundeck.
I am also not able to create a project through yaml. Can somebody provide an example? 'puppet module install' downloads version 1.2.0 on my machine.
I found the following in project.pp
# rundeck::config::project { 'test project':
# ssh_keypath => '/var/lib/rundeck/.ssh/id_rsa',
# file_copier_provider => 'jsch-scp',
# node_executor_provider => 'jsch-ssh',
# resource_sources => $resource_hash
# }
from puppet-rundeck.
??
from puppet-rundeck.
@ltutar puppet module install
what?
from puppet-rundeck.
I just want to know why
class rundeck_config::config {
rundeck::config::project { 'PetClinicProject':
}
}
works,
Notice: /Stage[main]/Rundeck_config::Config/Rundeck::Config::Project[PetClinicProject]/File[/var/rundeck/projects/PetClinicProject]/ensure: created
Notice: /Stage[main]/Rundeck_config::Config/Rundeck::Config::Project[PetClinicProject]/File[/var/rundeck/projects/PetClinicProject/var]/ensure: created
Notice: /Stage[main]/Rundeck_config::Config/Rundeck::Config::Project[PetClinicProject]/File[/var/rundeck/projects/PetClinicProject/etc]/ensure: created
Notice: /Stage[main]/Rundeck_config::Config/Rundeck::Config::Project[PetClinicProject]/File[/var/rundeck/projects/PetClinicProject/etc/project.properties]/ensure: created
Notice: /Stage[main]/Rundeck_config::Config/Rundeck::Config::Project[PetClinicProject]/Ini_setting[PetClinicProject::project.name]/ensure: created
Notice: /Stage[main]/Rundeck_config::Config/Rundeck::Config::Project[PetClinicProject]/Ini_setting[PetClinicProject::project.ssh-authentication]/ensure: created
Notice: /Stage[main]/Rundeck_config::Config/Rundeck::Config::Project[PetClinicProject]/Ini_setting[PetClinicProject::project.ssh-keypath]/ensure: created
Notice: /Stage[main]/Rundeck_config::Config/Rundeck::Config::Project[PetClinicProject]/Ini_setting[PetClinicProject::service.FileCopier.default.provider]/ensure: created
Notice: /Stage[main]/Rundeck_config::Config/Rundeck::Config::Project[PetClinicProject]/Ini_setting[PetClinicProject::service.NodeExecutor.default.provider]/ensure: created
Notice: /Stage[main]/Rundeck_config::Config/Rundeck::Config::Project[PetClinicProject]/Ini_setting[PetClinicProject::service.NodeExecutor.default.provider]/ensure: created
Notice: Applied catalog in 61.05 seconds
and through yaml as
rundeck::projects:
testproject:
does not work.
Notice: /Stage[main]/Rundeck::Service/Service[rundeckd]/enable: enable changed 'false' to 'true'
Notice: /Stage[main]/Logstashforwarder::Service/Logstashforwarder::Service::Init[logstash-forwarder]/Service[logstash-forwarder]/enable: enable changed 'false' to 'true'
Notice: Applied catalog in 1.02 seconds
from puppet-rundeck.
@ltutar hi! This is because each project needs to be a hash at this time. This line shows the logic:
https://github.com/puppet-community/puppet-rundeck/blob/master/manifests/config.pp#L155
You could try the following:
rundeck::projects:
testproject: {}
I am also not sure when the last time we had a forge release. Have you tried the git version?
from puppet-rundeck.
@ltutar can you paste your modified YAML block?
@liamjbennett we really need to solve the function loading thing. :/ One of those PRs should get accepted.
from puppet-rundeck.
@ltutar did you lose formatting? Could you either wrap your output in the code example from here?
https://guides.github.com/features/mastering-markdown/
If it's just not doing anything, the chances are that you need to use the git version, as the feature was added fairly recently.
from puppet-rundeck.
Downloading the latest git version made the following yaml work. Thank you all for your help
from puppet-rundeck.
Can somebody help me to yaml the following?
rundeck::config::project { 'PetClinicProject':
resource_sources => {
'PetClinicProject' => {
project_name => 'PetClinicProject',
source_type => 'directory',
directory => '/opt/rundeck/nodes',
include_server_node => false,
resource_format => 'resourcejson',
}
}
}
from puppet-rundeck.
@ltutar github is not designed for this kind of question. I would try StackOverflow in the future.
You may also want to look at this link:
https://docs.puppetlabs.com/hiera/1/complete_example.html#kermitexamplecomyaml
from puppet-rundeck.
Ok.
from puppet-rundeck.
@liamjbennett is this issue solved? Can it be closed?
from puppet-rundeck.
I still do not have the answer for yaml. But as I am told github is not the place for these kind of questions, the issue may be closed.
from puppet-rundeck.
Do you think I can close this ticket? You marked it with enhancement label on May 29, and I am still waiting the updates.
from puppet-rundeck.
I now have the yaml file. I will post it here for the other users.
rundeck::config::project { 'PetClinicProject':
ssh_keypath => '/opt/rundeck/key/insecure_private_key',
resource_sources => {
'PetClinicProject' => {
project_name => 'PetClinicProject',
source_type => 'directory',
directory => '/opt/rundeck',
include_server_node => false,
resource_format => 'resourcejson',
}
}
}
rundeck::projects:
PetClinicProject:
ssh_keypath: '/opt/rundeck/key/insecure_private_key'
resource_sources:
PetClinicProject:
project_name: 'PetClinicProject'
source_type: 'directory'
directory: '/opt/rundeck'
include_server_node: false
resource_format: 'resourcejson'
from puppet-rundeck.
@ltutar 👍 thanks for sharing.
from puppet-rundeck.
Related Issues (20)
- How to: rundeck.storage.provider.'1'.type = 'vault-storage'
- Incorrect configuration key for threadcount HOT 2
- rundeck project type/provider
- on VMWare, UUID is created in framework.properties that is overwritten by rundeck
- Support for Rundeck 3.3.x HOT 3
- Release v7.0.0 without CentOS 6 support!
- a colon is added to realm.properties file even when auth_users hash is empty
- Support for Rundeck >3.3.10
- Module doesn't support apt-key through proxy HOT 1
- Rundeck 3.4 no longer supports the rundeck.projectsStorageType configuration property
- Deprecate Bintray and use the newer repositories
- Re-release required HOT 1
- Add sensitive option for database_config HOT 5
- RSpec error if used with inifile >= 4.2.0
- Missing rundeck.security.syncLdapUser config setting HOT 1
- ACLs render incorrectly when using attributes filters
- Please update dependent modules to allow for their latest versions
- manage SCM configuration of projects HOT 3
- framework.logs.dir from the module different than from the RPM
- New release
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-rundeck.