Conversation
|
Btw, Jacob had to implement something similar for the task scheduler on Windows. It's not committed yet, but you can see his pull request to see if it will produce the results you are looking for. |
|
Do you happen to know the commit hash for Jacob's patch? |
|
Found the commit and the other patch solved the issue with a different approach. I was trying to do multiline display for hash since I was writing a resource with a hash attribute that could have upwards of 90+ key/value, and also aligns => for readability. f5_monitor { 'https_443':
ensure => 'present',
manual_resume_state => 'STATE_DISABLED',
template_destination => '*:443',
template_integer_property => { ITYPE_INTERVAL => '5',
ITYPE_PROBE_INTERVAL => '0',
ITYPE_PROBE_NUM_PROBES => '0',
ITYPE_PROBE_NUM_SUCCESSES => '0',
ITYPE_PROBE_TIMEOUT => '0',
ITYPE_TIMEOUT => '16',
ITYPE_TIME_UNTIL_UP => '0',
ITYPE_UNSET => '0',
ITYPE_UP_INTERVAL => '0' },
template_state => 'STATE_ENABLED',
template_string_property => { STYPE_CIPHER_LIST => 'DEFAULT:+SHA:+3DES:+kEDH',
STYPE_CLIENT_CERTIFICATE => '',
STYPE_CLIENT_KEY => '',
STYPE_PASSWORD => '',
STYPE_RECEIVE => '',
STYPE_SEND => 'GET /',
STYPE_SSL_OPTIONS => 'enabled',
STYPE_USERNAME => '' },
template_transparent_mode => 'false',
}
I prefer the readability, but I'll leave it up to the eng team to decide whether or not to accept this. Thanks! |
This patch improves readability of puppet resource attribute display for
hash values.
Current output:
type { 'title':
attribute => hashkeyhashvalue,
}
New output:
type { 'title':
attribute => { hashkey => 'hashvalue' },
}
|
This pull is waiting on some updates discussed in the Redmine ticket. |
|
@nanliu - this duplicates some of the work done in both the PMT and Faces APIs, and can't be merged. I am closing this pull request until the details discussed on the ticket get sorted out. |
Add PuppetDB 1.2 toc and external source
(PCP-80) Show valid loglevels in help
This patch improves readability of puppet resource attribute display for
hash values.
Current output:
New output: