Resource Model source file is missing

215 views
Skip to first unread message

Krishna Chaitanya

unread,
Sep 30, 2019, 6:53:12 AM9/30/19
to rundeck-discuss
Hi,

I installed latest version of rundeck and created a project for ssh testing. Interestingly, there is "Resource Model source" files is missing and default project directory seems to be changed to "/var/lib/rundeck/projects". Can someone help me on this.

Rundeck version: Rundeck 3.1.1-20190923


rundeck

apiversion : 33
base : /var/lib/rundeck
build : 3.1.1-20190923
buildGit : v3.1.1-0-gdefc1eb
node : ***************
serverUUID :
version : 3.1.1-20190923


os
arch : amd64
name : Linux
version : 3.10.0-957.10.1.el7.x86_64

jvm
implementationVersion : 25.201-b09
name : OpenJDK 64-Bit Server VM
vendor : Oracle Corporation
version : 1.8.0_201

Reiner Acuña

unread,
Sep 30, 2019, 8:58:43 AM9/30/19
to rundeck-discuss
Hi Krishna,

To generate your resource file select your new project and go to Project Settings > Edit Nodes > Click on "Configure Nodes" button (up to right) > Click on "Add Sources +" Button > Select "+ File" option > in "Format" field select resourcexml and  fill the path in "File Path" field (put the file name at the end, usually "resources.xml"), then  select "Generate", "Include Server Node" and "Writeable" checkboxes and click on "Save" button.

Now you can add your remote node to dispatch your job, here you have a good example:


Check this to learn more about resources.xml file:

https://docs.rundeck.com/docs/man5/resource-xml.html

Hope it helps!
Reply all
Reply to author
Forward
0 new messages