Created
March 26, 2020 09:52
-
-
Save b4ldr/da4e850529eb8cd438907b0b774a606b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class rundeck_server { | |
class { 'rundeck': | |
package_ensure => latest, | |
#grails_server_url => "https://${facts['ip']}", | |
grails_server_url => "http://127.0.0.1:4440", | |
key_storage_type => 'file', | |
projects_storage_type => 'db', | |
jvm_args => '-Dserver.http.host=0.0.0.0', | |
database_config => { | |
type => 'mysql', | |
url => 'jdbc:mysql://localhost/rundeckdb?autoReconnect=true&useSSL=false', | |
username => 'rundeck', | |
password => 'blahblahblah', | |
driverClassName => 'com.mysql.jdbc.Driver', | |
} | |
} | |
rundeck::config::resource_source { 'test': | |
project_name => "projectx", | |
source_type => "file", | |
script_file => "/home/user/puppet/jobs.yaml", | |
include_server_node => 1, | |
resource_format => "resourceyaml" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment