Can anyone tell me how to troubleshoot why my @host.ip would be null during a puppet run? Or point me to where all the attributes accessible under @host are and how to verify their values?
hardbot has quit
TommyTheKid
So, the puppet-foreman module has a "custom_repo" attribute (that we set to true because we usually use pulp) ... accidentally cloned that setting to a new environment without pulp *yet* and it broke puppet server because it pointed the ENC to foreman, but did not install foreman :)
jjulien, @host.ip means you are in a ERB template? As opposed to puppet code $host['ip'] ?
jjulien
TommyTheKid, I'm using @host.ip in a puppet class parameter within Foreman, using Foreman as the ENC. @host.ip on most of my hosts has always defaulted to eth0, but now I'm getting a null for some reason on one host, and not sure where to look. I found @host.ip in some random online posts, but never found documentation on exactly what @host was or where the data came from.
Aleks3Y joined the channel
I ended up going with @host.facts['networking::interfaces::eth0::ip'] which seems much more reliable, but I am still curious where the @host variable is set.
toronz has quit
coffee-- joined the channel
coffee-- has quit
felskrone1 joined the channel
felskrone has quit
kotten joined the channel
SDpyro has quit
AshishH joined the channel
toi joined the channel
stkachen joined the channel
amitKarsale joined the channel
TommyTheKid
Ok, so the ForemanENC does use "erb" syntax, so @host.ip should be OK, provided that @host is defined? Is that defined by foreman
bmarshall joined the channel
bmarshall has quit
rabajaj joined the channel
rabajaj_ joined the channel
Poornima_K joined the channel
rabajaj_ has quit
rcernin joined the channel
Capesteve joined the channel
kavita joined the channel
lzap joined the channel
aupadhye joined the channel
swapab joined the channel
aupadhye has quit
Capesteve has quit
aupadhye joined the channel
dobson` joined the channel
TKersten joined the channel
sjagtap joined the channel
lzap has quit
hmw joined the channel
Philambdo joined the channel
mhulsman joined the channel
jackNemrod joined the channel
m451 joined the channel
mhulsman joined the channel
rabajaj_ joined the channel
inecas joined the channel
rabajaj has quit
mhulan joined the channel
mhulsman joined the channel
devmodem joined the channel
attachmentgenie joined the channel
Capesteve joined the channel
rabajaj__ joined the channel
damoreno has quit
bkorren joined the channel
rabajaj_ has quit
IdoKaplan joined the channel
IdoKaplan
Hi, The servers in the UI are FQDN. is it possible to show only the short name?
dlezz joined the channel
jyejare joined the channel
inecas has quit
bkorren has quit
smeyer joined the channel
tesseract joined the channel
oprazak joined the channel
rabajaj_ joined the channel
rabajaj__ has quit
jackNemrod joined the channel
Hi, I'm using Salt plugin. When provisioning a new server, there is an option to select "Salt Environment". How can I find the parameter of this key? I would like to use it in kickstart
witlessb joined the channel
nagoor has quit
wandering_vagran joined the channel
bagasse joined the channel
mhulsman1 joined the channel
mhulsman has quit
coffee-- joined the channel
coffee-- has quit
rabajaj_ has quit
rikardos1_ joined the channel
ckyriakidou joined the channel
rikardos1_
hi.. after upgrade the header icon is broken.. (it's not showing) :) how to fix it?
hi.. after upgrade the header icon is broken.. (it's not showing) :) how to fix it?
samirjha has quit
nagoor joined the channel
sean797 has quit
Idokaplan has quit
sean797 joined the channel
lpramuk joined the channel
coffee-- joined the channel
coffee-- has quit
Poornima_K has quit
Truenigma_Work joined the channel
Poornima_K joined the channel
hprakash has quit
Poornima_K has quit
Poornima_K joined the channel
nagoor has quit
lpramuk has quit
wfoster has quit
lowercase joined the channel
lzap joined the channel
lowercase
heya, how can i get information about all the variables that may be used in provisioning templates? is the list on the wiki complete? where should i look in the foreman code for a list?
I'd like to do something with the provisioning token of a host inside a template