Re: [foreman-dev] Foreman images and CSS

2016-07-12 Thread colm . scanlon
Thanks Dominic. it is a package deb installation that i have. using a rake 
and not a foreman-rake as you suggested. still get the rake aborted when i 
test.

On Tuesday, July 12, 2016 at 12:00:19 PM UTC+1, Dominic Cleal wrote:
>
> On 12/07/16 11:58, colm.s...@gmail.com  wrote: 
> > Thanks Dominic. 
> > 
> > When i run that command i first got an error re spice-html5. After i 
> > installed that gem it went past that stage but now errors at couldn't 
> > find file 'jquery_pwstrength_bootstrap' with type 
> > 'application/javascript' even though i have the gem installed. Any 
> ideas? 
>
> If you're on a source installation then "bundle install" without 
> excluding the assets group should install all of these dependencies. A 
> package installation provides them through the foreman-assets package. 
>
> -- 
> Dominic Cleal 
> dom...@cleal.org  
>

-- 
You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [foreman-dev] Foreman images and CSS

2016-07-12 Thread colm . scanlon
Thanks Dominic.

When i run that command i first got an error re spice-html5. After i 
installed that gem it went past that stage but now errors at couldn't find 
file 'jquery_pwstrength_bootstrap' with type 'application/javascript' even 
though i have the gem installed. Any ideas?

Many thanks.

On Tuesday, July 12, 2016 at 11:11:43 AM UTC+1, Dominic Cleal wrote:
>
> On 12/07/16 10:56, colm.s...@gmail.com  wrote: 
> > In Foreman i see the images and scss files in ~foreman/app/assets/images 
> > and /stylesheets however the live website seems to be looking in 
> > ~/foreman/public/assets 
> > 
> > Can anyone shed some light on where Foreman is looking for its style and 
> > images and how it compiles them into the public/assets folder to be 
> > viewed in real time? 
>
> app/assets/ contains the source/original files, and to run the app in 
> the production Rails environment with public/assets/, they're compiled 
> using the rake assets:precompile task. This combines, compresses and 
> minifies the source files. 
>
> If you're using our packages, this is done at build time and the 
> generated files in public/assets/ are shipped inside the package. If 
> you're running from source, you will run rake assets:precompile manually. 
>
> It's technically possible to re-run the precompilation on a package 
> installation if you install foreman-assets to get the dependencies, but 
> I'd not recommend it as it'll overwrite, delete and otherwise mess with 
> packaged files. 
>
> -- 
> Dominic Cleal 
> dom...@cleal.org  
>

-- 
You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[foreman-dev] Foreman images and CSS

2016-07-12 Thread colm . scanlon
Hi all,

In Foreman i see the images and scss files in ~foreman/app/assets/images 
and /stylesheets however the live website seems to be looking in 
~/foreman/public/assets

Can anyone shed some light on where Foreman is looking for its style and 
images and how it compiles them into the public/assets folder to be viewed 
in real time?

Thanks for your help,

-- 
You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [foreman-dev] Remote Execution Output.

2016-07-08 Thread colm . scanlon
Thanks all, I will try these. Especially the hammer command might be suitable. 
I also found the data in the SQLite db within the Dundon structure, however if 
the above have outputs easier to parse then that would be great. Am I right in 
saying hammer can issue the commands via cli by itself?

Thanks again for your help on this!

 On Friday, July 8, 2016 at 4:03:26 PM UTC+1, stephen wrote:
> - Original Message -
> > From: "colm scanlon" 
> > To: "foreman-dev" 
> > Sent: Friday, July 8, 2016 3:42:49 AM
> > Subject: [foreman-dev] Remote Execution Output.
> > 
> > Hi all,
> > I am looking to capture the output of a foreman remote execution job to 
> > parse
> > it for display purposes. Does anyone know what table or how to access the
> > raw data via the command line? E.g. So I can automate the parsing rather
> > than clicking through on the GUI?
> 
> It's accessible in the API per host (see /apidoc on your foreman for more 
> details):
> 
> /api/job_invocations/:id/hosts/:host_id 
> 
> It's also available in hammer CLI:
> 
>   hammer job-invocation output --id 155 --host rex01.example.com
> 
> There's a few issues we have open to improve this, like 
> http://projects.theforeman.org/issues/11664
> as Ivan mentioned to provide some parsing ability in Foreman itself, as well
> as http://projects.theforeman.org/issues/12818 to download the output
> for all hosts in a job invocation, maybe in a .zip archive.
> 
> - Stephen
> 
> 
> > Many thanks,
> > 
> > --
> > You received this message because you are subscribed to the Google Groups
> > "foreman-dev" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to foreman-dev+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
> >

-- 
You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[foreman-dev] Remote Execution Output.

2016-07-08 Thread colm . scanlon
Hi all,
I am looking to capture the output of a foreman remote execution job to parse 
it for display purposes. Does anyone know what table or how to access the raw 
data via the command line? E.g. So I can automate the parsing rather than 
clicking through on the GUI?

Many thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.