Giter Site home page Giter Site logo

chef-chrome's People

Contributors

austburn avatar dautushenka avatar dhoer avatar erkki avatar laradji avatar ramereth avatar sbotman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

chef-chrome's Issues

Default attribute for chrome url is outdated.

#<URI::InvalidURIError: windows_package[Google Chrome] (chrome::msi line 2) had an error: URI::InvalidURIError: bad URI(is not URI?): https://dl-ssl.google.com/tag/s/appguid={00000000-0000-0000-0000-000000000000}&iid={00000000-0000-0000-0000-000000000000}&lang=en&browser=4&usagestats=0&appname=Google Chrome&needsadmin=false/dl/chrome/install/googlechromestandaloneenterprise64.msi> had an error:
windows_package[Google Chrome] (chrome::msi line 2) had an error: URI::InvalidURIError: bad URI(is not URI?): https://dl-ssl.google.com/tag/s/appguid={00000000-0000-0000-0000-000000000000}&iid={00000000-0000-0000-0000-000000000000}&lang=en&browser=4&usagestats=0&appname=Google Chrome&needsadmin=false/dl/chrome/install/googlechromestandaloneenterprise64.msi

Issue installing chrome stable on Ubuntu 14.04

When running the default recipe on Ubuntu 14.04, I'm getting this error:

 STDERR: E: There are problems and -y was used without --force-yes
       ---- End output of apt-get -q -y install google-chrome-stable=41.0.2272.101-1 ----
       Ran apt-get -q -y install google-chrome-stable=41.0.2272.101-1 returned 100

Error Package : xdg-utils, libgtk-3.so.0(), etc to be installed

0mSTDERR: Error: Package: google-chrome-stable-77.0.3865.90-1.x86_64 (google-chrome)
[0m Requires: xdg-utils
[0mError: Package: google-chrome-stable-77.0.3865.90-1.x86_64 (google-chrome)
[0m Requires: libgtk-3.so.0()(64bit)
[0mError: Package: google-chrome-stable-77.0.3865.90-1.x86_64 (google-chrome)
[0m Requires: libappindicator3.so.1()(64bit)
[0mError: Package: google-chrome-stable-77.0.3865.90-1.x86_64 (google-chrome)
[0m Requires: libatk-bridge-2.0.so.0()(64bit)
[0mError: Package: google-chrome-stable-77.0.3865.90-1.x86_64 (google-chrome)
[0m Requires: libatk-1.0.so.0()(64bit)
[0mError: Package: google-chrome-stable-77.0.3865.90-1.x86_64 (google-chrome)
[0m Requires: liberation-fonts
[0mError: Package: google-chrome-stable-77.0.3865.90-1.x86_64 (google-chrome)
[0m Requires: libatspi.so.0()(64bit)
[0mError: Package: google-chrome-stable-77.0.3865.90-1.x86_64 (google-chrome)
[0m Requires: libgdk-3.so.0()(64bit)
[0mError: Package: google-chrome-stable-77.0.3865.90-1.x86_64 (google-chrome)
[0m Requires: libXss.so.1()(64bit)
[0mError: Package: google-chrome-stable-77.0.3865.90-1.x86_64 (google-chrome)
[0m Requires: libgdk_pixbuf-2.0.so.0()(64bit)

Chrome 85: Master Preferences Path Changes

The Master Preferences Path on Chrome 85 for Windows has changed to C:\Program Files\Google\Chrome\Application\master_preferences

As a result: Trying to call chrome_version for Chrome 85 on Windows will return nil.

Source, the release notes:

Chrome 64-bit on Windows will be installed in "Program Files" instead of "Program Files (x86)"
New installations of 64-bit Chrome will be installed in "%ProgramFiles%" on Windows instead of
"%ProgramFiles(x86)%". Existing installations won't be impacted.

As a result, default['chrome']['master_preferences_windows'] will need an update to C:\Program Files\Google\Chrome\Application\master_preferences, but probably also be backwards compatible
https://github.com/dhoer/chef-chrome/blob/master/attributes/default.rb#L4

Temporary workaround:
In your cookbook's attributes/default.rb (or whatever you've named it named), just override it:
default['chrome']['master_preferences_windows'] = 'C:\Program Files\Google\Chrome\Application\master_preferences'

Apt package google-chrome-stable=41.0.2272.101-1 randomly fails to install

There is an issue with google-chrome-stable=41.0.2272.101-1. Installing Chrome on Ubuntu randomly fails with the following error:

WARNING: The following packages cannot be authenticated!
     google-chrome-stable
STDERR: E: There are problems and -y was used without --force-yes
---- End output of apt-get -q -y install google-chrome-stable=41.0.2272.101-1 
---- Ran apt-get -q -y install google-chrome-stable=41.0.2272.101-1 returned 100

This issue has been reported to Google.

FYI, Running the following command does NOT help:

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

Cookbook is incompatible with chef client 13

The underlying cause is the same as #16 but reporting it now because it is no longer just a warning that can be ignored. This is what happens:

ArgumentError

Property params of resource chrome overwrites an existing method.

Cookbook Trace:

/var/cache/chef/cookbooks/chrome/resources/default.rb:8:in `class_from_file'

Relevant File Content:

/var/cache/chef/cookbooks/chrome/resources/default.rb:

1: actions :master_preferences
2: default_action :master_preferences
3:
4: attribute :name, kind_of: String, name_attribute: true
5: attribute :template, kind_of: String, default: 'master_preferences.json.erb'
6: attribute :local, kind_of: [TrueClass, FalseClass], default: false
7: attribute :cookbook, kind_of: String, default: nil
8>> attribute :params, kind_of: [Array, Hash], default: []
9:

Custom Install Action

It would be nice to be able to specify that Chrome should upgrade vs just install.

chrome 1.0.10 not supported chef < 12

Hi

i am using chef < 12 and got the following error
NoMethodError: undefined method source_url' for #<Chef::Cookbook::Metadata:0x16c9f80> C:/monsoon/repos/it_backend_services/litr_selenium_cp_rm_t/chef/cookbooks/chrome/metadata.rb:7:infrom_file'

thank and regards Zacky

Chef::Exceptions::InvalidRemoteFileURI on Windows platform

The following exception is thrown on windows:

       ================================================================================
       Error executing action `install` on resource 'windows_package[Google Chrome]'
       ================================================================================

       Chef::Exceptions::InvalidRemoteFileURI
       --------------------------------------
       "https://dl-ssl.google.com/tag/s/appguid={00000000-0000-0000-0000-000000000000}&iid={00000000-0000-0000-0000-000000000000}&lang=en&browser=4&usagestats=0&appname=Google Chrome&needsadmin=false/dl/chrome/install/googlechromestandaloneenterprise64.msi" is not a valid `source` parameter for remote_file. `source` must be an absolute URI or an array of URIs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.