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

ressources.xml handling questions #730

Closed
jerome83136 opened this issue Apr 8, 2014 · 5 comments
Closed

ressources.xml handling questions #730

jerome83136 opened this issue Apr 8, 2014 · 5 comments

Comments

@jerome83136
Copy link

Hello,
We are using ressources.xml to store custom attributes that are used by our generic deployments scripts; to retrieve nodes specific variables.

Example:
<node name="node1" description="node1" role="appserver" groupe="prod" hostname="node1" osArch="sparc" osFamily="unix" osName="SunOS" osVersion="5.10" username="rundeck" app_ctxroot="myapp1:/myapp1 myapp2:/myapp2 etc ....

So our ressources.xml is getting even more larger.

I have 2 questions:

  • is there a limit, for the maximum number of custom attributes a node can have ?
  • in the "nodes" view of the rundeck webui, our custom attributes seems to be to long, so the webui can't display the entire attribute. Currently each attribute is displayed in only one line. Is there a way to get multiple lines for each attribute ? (for example: a carriage return)
    This is just for convenience. But that would be usefull.

Thanks for your help
Best regards
Jérôme

@ahonor
Copy link
Contributor

ahonor commented Apr 8, 2014

Hi @jerome83136,
There is no limit to the number of attributes to declare for nodes. Can you give an example of a very long attribute that doesn't display well in the GUI?

Thanks

@jerome83136
Copy link
Author

Hello,
"There is no limit to the number of attributes to declare for nodes." --> Great !
For the example, you will find an attached picture which illustrate the problem.

As you can see, in the "Nodes" view; we have attributes like "app_clusters:" which get truncated.
Other attributes like "groupe:" or "role:" are not truncated, because they are smaller.

Thanks for your help
Regards
Jerome

@jerome83136
Copy link
Author

rundeck_screenshot_nodes-attributes

@ahonor
Copy link
Contributor

ahonor commented Apr 9, 2014

@jerome83136 would you prefer to have rundeck wrap the value?

@jerome83136
Copy link
Author

I'm sorry I don't see what you mean by "wrap the value"
What would it look like?

I think I would prefer rundeck to display the values, by displaying as many new lines as necessary for each attribute. Or maybe a sliding bar in the browser?
What is possible?

I would like being able to see all the values of each attribute, whatever the number of values, in the nodes view of the rundeck webui.

One last thing: an embedded nodes editor in the webui would be great 😉

Thanks again for your help

Regards
Jerome

Envoyé depuis mon HTC

----- Reply message -----
De : "Alex Honor" notifications@github.com
Pour : "rundeck/rundeck" rundeck@noreply.github.com
Cc : "jerome83136" jerome83136@gmail.com
Objet : [rundeck] ressources.xml handling questions (#730)
Date : mer., avr. 9, 2014 22:55

@jerome83136 would you prefer to have rundeck wrap the value?


Reply to this email directly or view it on GitHub:
#730 (comment)

@ahonor ahonor added this to the 2.0.4 milestone Apr 11, 2014
@gschueler gschueler self-assigned this Apr 17, 2014
@gschueler gschueler removed their assignment Apr 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants