Installing Foreman on ubuntu 16.02 and just tons of problems, errors and missing controls

Hello group,

I am at the point where I am going to tell my manager that its folly to use
this product in any way.

I have been working on this for weeks and have made very little progress in
getting errors cleared , certificates working, and controls in the Foreman
web gui working.

I work for the state of Arizona and we are thinking of using Foreman to
manage our Linux hosts.

From the install, there were pages of errors and I have bounced around
trying to use different flavors of O/S and finally was able to get Foreman
installed
using ubuntu 16.02. I tried Centos, SUSE, and ubuntu 14.04.

I am at a point where if I try and run agent test commands, I get many
errors. Here is a sample:

Error: Could not retrieve catalog from remote server: Error 500 on SERVER:
Server Error: Evaluation Error: Error while evaluating a Resource
Statement, Class[Ntp]:
parameter 'broadcastclient' expects a Boolean value, got String
parameter 'config' expects a match for Variant[Stdlib::Windowspath =
Pattern[/^(([a-zA-Z]:[\/])|([\/][\/][^\/]+[\/][^\/]+)|([\/][\/]?[\/][^\/]+))/],
Stdlib::Unixpath = Pattern[/^/([^/\0]+(/)?)+$/]], got ''
parameter 'config_dir' expects a match for Variant[Stdlib::Windowspath =
Pattern[/^(([a-zA-Z]:[\/])|([\/][\/][^\/]+[\/][^\/]+)|([\/][\/]?[\/][^\/]+))/],
Stdlib::Unixpath = Pattern[/^/([^/\0]+(/)?)+$/]], got ''
parameter 'disable_auth' expects a Boolean value, got String
parameter 'disable_dhclient' expects a Boolean value, got String
parameter 'disable_kernel' expects a Boolean value, got String
parameter 'disable_monitor' expects a Boolean value, got String
parameter 'fudge' expects an Array value, got String
parameter 'driftfile' expects a match for Variant[Stdlib::Windowspath =
Pattern[/^(([a-zA-Z]:[\/])|([\/][\/][^\/]+[\/][^\/]+)|([\/][\/]?[\/][^\/]+))/],
Stdlib::Unixpath = Pattern[/^/([^/\0]+(/)?)+$/]], got ''
parameter 'leapfile' expects a match for Variant[Stdlib::Windowspath =
Pattern[/^(([a-zA-Z]:[\/])|([\/][\/][^\/]+[\/][^\/]+)|([\/][\/]?[\/][^\/]+))/],
Stdlib::Unixpath = Pattern[/^/([^/\0]+(/)?)+$/]], got ''
parameter 'logfile' expects a match for Variant[Stdlib::Windowspath =
Pattern[/^(([a-zA-Z]:[\/])|([\/][\/][^\/]+[\/][^\/]+)|([\/][\/]?[\/][^\/]+))/],
Stdlib::Unixpath = Pattern[/^/([^/\0]+(/)?)+$/]], got ''
parameter 'iburst_enable' expects a Boolean value, got String
parameter 'keys' expects an Array value, got String
parameter 'keys_enable' expects a Boolean value, got String

I have uninstalled and re-installed the ntp classes. I have tried
clearing and re-signing the certificates. I have had errors where remote
hosts (puppet) are refused, or don't connect at all. Its getting to point
where this product is becoming a major waste of time to install and
configure.

I am installing this in a VMWare environment, and I have full network
access.

Is there a prefered O/S or environment where Foreman will install correctly
the first time? I use the instructions on the Foreman site, and it
doesn't work. Then I search to find solutions from other sites and I will
get a little further, but with not much further progress.

Is there a site, page/blog that actually works?

Any guidance would be appreciated.

Just out of curiosity, is this from a 'apt-get install foreman-installer;
foreman-installer', after you've added foreman's repos?Are you compiling
from source? Also, which version of Foreman is this?

-Chris

··· On Wednesday, March 1, 2017 at 3:47:29 PM UTC-5, Jonathan D wrote: > > Hello group, > > I am at the point where I am going to tell my manager that its folly to > use this product in any way. > > I have been working on this for weeks and have made very little progress > in getting errors cleared , certificates working, and controls in the > Foreman web gui working. > > I work for the state of Arizona and we are thinking of using Foreman to > manage our Linux hosts. > > From the install, there were pages of errors and I have bounced around > trying to use different flavors of O/S and finally was able to get Foreman > installed > using ubuntu 16.02. I tried Centos, SUSE, and ubuntu 14.04. > > I am at a point where if I try and run agent test commands, I get many > errors. Here is a sample: > > Error: Could not retrieve catalog from remote server: Error 500 on SERVER: > Server Error: Evaluation Error: Error while evaluating a Resource > Statement, Class[Ntp]: > parameter 'broadcastclient' expects a Boolean value, got String > parameter 'config' expects a match for Variant[Stdlib::Windowspath = > Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], > Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '' > parameter 'config_dir' expects a match for Variant[Stdlib::Windowspath = > Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], > Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '' > parameter 'disable_auth' expects a Boolean value, got String > parameter 'disable_dhclient' expects a Boolean value, got String > parameter 'disable_kernel' expects a Boolean value, got String > parameter 'disable_monitor' expects a Boolean value, got String > parameter 'fudge' expects an Array value, got String > parameter 'driftfile' expects a match for Variant[Stdlib::Windowspath = > Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], > Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '' > parameter 'leapfile' expects a match for Variant[Stdlib::Windowspath = > Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], > Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '' > parameter 'logfile' expects a match for Variant[Stdlib::Windowspath = > Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], > Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '' > parameter 'iburst_enable' expects a Boolean value, got String > parameter 'keys' expects an Array value, got String > parameter 'keys_enable' expects a Boolean value, got String > ... > > I have uninstalled and re-installed the ntp classes. I have tried > clearing and re-signing the certificates. I have had errors where remote > hosts (puppet) are refused, or don't connect at all. Its getting to point > where this product is becoming a major waste of time to install and > configure. > > I am installing this in a VMWare environment, and I have full network > access. > > Is there a prefered O/S or environment where Foreman will install > correctly the first time? I use the instructions on the Foreman site, and > it doesn't work. Then I search to find solutions from other sites and I > will get a little further, but with not much further progress. > > Is there a site, page/blog that actually works? > > Any guidance would be appreciated. >

I have had reasonable luck with foreman using Centos7.

The installs are reasonably painless.

I can help walk through this if you want.

··· On 03/01/2017 03:47 PM, Jonathan D wrote: > Hello group, > > I am at the point where I am going to tell my manager that its folly > to use this product in any way. > > I have been working on this for weeks and have made very little > progress in getting errors cleared , certificates working, and > controls in the Foreman web gui working. > > I work for the state of Arizona and we are thinking of using Foreman > to manage our Linux hosts. > > From the install, there were pages of errors and I have bounced around > trying to use different flavors of O/S and finally was able to get > Foreman installed > using ubuntu 16.02. I tried Centos, SUSE, and ubuntu 14.04. > > I am at a point where if I try and run agent test commands, I get many > errors. Here is a sample: > > Error: Could not retrieve catalog from remote server: Error 500 on > SERVER: Server Error: Evaluation Error: Error while evaluating a > Resource Statement, Class[Ntp]: > parameter 'broadcastclient' expects a Boolean value, got String > parameter 'config' expects a match for Variant[Stdlib::Windowspath = > Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], > Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '' > parameter 'config_dir' expects a match for > Variant[Stdlib::Windowspath = > Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], > Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '' > parameter 'disable_auth' expects a Boolean value, got String > parameter 'disable_dhclient' expects a Boolean value, got String > parameter 'disable_kernel' expects a Boolean value, got String > parameter 'disable_monitor' expects a Boolean value, got String > parameter 'fudge' expects an Array value, got String > parameter 'driftfile' expects a match for > Variant[Stdlib::Windowspath = > Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], > Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '' > parameter 'leapfile' expects a match for Variant[Stdlib::Windowspath > = > Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], > Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '' > parameter 'logfile' expects a match for Variant[Stdlib::Windowspath > = > Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], > Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '' > parameter 'iburst_enable' expects a Boolean value, got String > parameter 'keys' expects an Array value, got String > parameter 'keys_enable' expects a Boolean value, got String > ... > > I have uninstalled and re-installed the ntp classes. I have tried > clearing and re-signing the certificates. I have had errors where > remote hosts (puppet) are refused, or don't connect at all. Its > getting to point where this product is becoming a major waste of time > to install and configure. > > I am installing this in a VMWare environment, and I have full network > access. > > Is there a prefered O/S or environment where Foreman will install > correctly the first time? I use the instructions on the Foreman > site, and it doesn't work. Then I search to find solutions from other > sites and I will get a little further, but with not much further > progress. > > Is there a site, page/blog that actually works? > > Any guidance would be appreciated. > -- > You received this message because you are subscribed to the Google > Groups "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to foreman-users+unsubscribe@googlegroups.com > . > To post to this group, send email to foreman-users@googlegroups.com > . > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.


Alvin Starr || voice: (905)513-7688
Netvel Inc. || Cell: (416)806-0133
alvin@netvel.net ||

Are those puppet errors from executing a puppet run on a client after you
have added the puppetlabs NTP module? I'd take a rough guess and say that
you have set the override option to on for the various parameters (via the
classes menu) but not changed their value or type so the value is set to
string and looks similar to '$ntp::service_manage'. If you choose to
override the parameters you will need to set the type to match and give the
value a suitable value. For example, '$ntp::service_manage' is a boolean so
they type / value needs to match.

Enter code here…

··· On Wednesday, March 1, 2017 at 3:47:29 PM UTC-5, Jonathan D wrote: > > Hello group, > > I am at the point where I am going to tell my manager that its folly to > use this product in any way. > > I have been working on this for weeks and have made very little progress > in getting errors cleared , certificates working, and controls in the > Foreman web gui working. > > I work for the state of Arizona and we are thinking of using Foreman to > manage our Linux hosts. > > From the install, there were pages of errors and I have bounced around > trying to use different flavors of O/S and finally was able to get Foreman > installed > using ubuntu 16.02. I tried Centos, SUSE, and ubuntu 14.04. > > I am at a point where if I try and run agent test commands, I get many > errors. Here is a sample: > > Error: Could not retrieve catalog from remote server: Error 500 on SERVER: > Server Error: Evaluation Error: Error while evaluating a Resource > Statement, Class[Ntp]: > parameter 'broadcastclient' expects a Boolean value, got String > parameter 'config' expects a match for Variant[Stdlib::Windowspath = > Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], > Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '' > parameter 'config_dir' expects a match for Variant[Stdlib::Windowspath = > Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], > Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '' > parameter 'disable_auth' expects a Boolean value, got String > parameter 'disable_dhclient' expects a Boolean value, got String > parameter 'disable_kernel' expects a Boolean value, got String > parameter 'disable_monitor' expects a Boolean value, got String > parameter 'fudge' expects an Array value, got String > parameter 'driftfile' expects a match for Variant[Stdlib::Windowspath = > Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], > Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '' > parameter 'leapfile' expects a match for Variant[Stdlib::Windowspath = > Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], > Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '' > parameter 'logfile' expects a match for Variant[Stdlib::Windowspath = > Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], > Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '' > parameter 'iburst_enable' expects a Boolean value, got String > parameter 'keys' expects an Array value, got String > parameter 'keys_enable' expects a Boolean value, got String > ... > > I have uninstalled and re-installed the ntp classes. I have tried > clearing and re-signing the certificates. I have had errors where remote > hosts (puppet) are refused, or don't connect at all. Its getting to point > where this product is becoming a major waste of time to install and > configure. > > I am installing this in a VMWare environment, and I have full network > access. > > Is there a prefered O/S or environment where Foreman will install > correctly the first time? I use the instructions on the Foreman site, and > it doesn't work. Then I search to find solutions from other sites and I > will get a little further, but with not much further progress. > > Is there a site, page/blog that actually works? > > Any guidance would be appreciated. >

"set the override" it stands in the quickstart manual and should be done,
bananasoftware

··· Am Donnerstag, 2. März 2017 03:14:23 UTC+1 schrieb Andrew Schofield: > > Are those puppet errors from executing a puppet run on a client after you > have added the puppetlabs NTP module? I'd take a rough guess and say that > you have set the override option to on for the various parameters (via the > classes menu) but not changed their value or type so the value is set to > string and looks similar to '$ntp::service_manage'. If you choose to > override the parameters you will need to set the type to match and give the > value a suitable value. For example, '$ntp::service_manage' is a boolean so > they type / value needs to match. > > Enter code here... > > > On Wednesday, March 1, 2017 at 3:47:29 PM UTC-5, Jonathan D wrote: >> >> Hello group, >> >> I am at the point where I am going to tell my manager that its folly to >> use this product in any way. >> >> I have been working on this for weeks and have made very little progress >> in getting errors cleared , certificates working, and controls in the >> Foreman web gui working. >> >> I work for the state of Arizona and we are thinking of using Foreman to >> manage our Linux hosts. >> >> From the install, there were pages of errors and I have bounced around >> trying to use different flavors of O/S and finally was able to get Foreman >> installed >> using ubuntu 16.02. I tried Centos, SUSE, and ubuntu 14.04. >> >> I am at a point where if I try and run agent test commands, I get many >> errors. Here is a sample: >> >> Error: Could not retrieve catalog from remote server: Error 500 on >> SERVER: Server Error: Evaluation Error: Error while evaluating a Resource >> Statement, Class[Ntp]: >> parameter 'broadcastclient' expects a Boolean value, got String >> parameter 'config' expects a match for Variant[Stdlib::Windowspath = >> Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], >> Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '' >> parameter 'config_dir' expects a match for Variant[Stdlib::Windowspath >> = >> Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], >> Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '' >> parameter 'disable_auth' expects a Boolean value, got String >> parameter 'disable_dhclient' expects a Boolean value, got String >> parameter 'disable_kernel' expects a Boolean value, got String >> parameter 'disable_monitor' expects a Boolean value, got String >> parameter 'fudge' expects an Array value, got String >> parameter 'driftfile' expects a match for Variant[Stdlib::Windowspath = >> Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], >> Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '' >> parameter 'leapfile' expects a match for Variant[Stdlib::Windowspath = >> Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], >> Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '' >> parameter 'logfile' expects a match for Variant[Stdlib::Windowspath = >> Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], >> Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '' >> parameter 'iburst_enable' expects a Boolean value, got String >> parameter 'keys' expects an Array value, got String >> parameter 'keys_enable' expects a Boolean value, got String >> ... >> >> I have uninstalled and re-installed the ntp classes. I have tried >> clearing and re-signing the certificates. I have had errors where remote >> hosts (puppet) are refused, or don't connect at all. Its getting to point >> where this product is becoming a major waste of time to install and >> configure. >> >> I am installing this in a VMWare environment, and I have full network >> access. >> >> Is there a prefered O/S or environment where Foreman will install >> correctly the first time? I use the instructions on the Foreman site, and >> it doesn't work. Then I search to find solutions from other sites and I >> will get a little further, but with not much further progress. >> >> Is there a site, page/blog that actually works? >> >> Any guidance would be appreciated. >> >