what’s the best way to provide a default resource file (with all hosts) ? should i use set project.resources.file in /etc/rundeck/project.properties to a constant e.g /path/to/mysystemwide/resources.xml ? any best practice ?
any idea anyone ?
hi bensix2 , there is no default resource file for projects. however you could create a shared one, and configure each project to have a resolver that uses it
gschueler: resolver ?
sorry, i should say, a “resource model source”
gschueler: yeah ok but that would still require the user to specify it in the field. was trying to rely on a default value so user could just inherit it.
sounds like we cant use project.resources.file for that
hi bensix2, i think you can accomplish what you need but it does assume provisioning the projects in a standard way
e.g., to configure the project.properties to define that common model source
so i could set project.resources.file in /etc/rundeck/project.properties and NOT set it in /var/rundeck/projects/<myproject>/project.properties ?
actually, I think you could… I haven’t tried that functionality in a long time
bensix2: were you asking if the resources file needed to be in a certain directory?