Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

window_font resource broken? #324

Closed
webframp opened this issue Jan 6, 2016 · 0 comments
Closed

window_font resource broken? #324

webframp opened this issue Jan 6, 2016 · 0 comments

Comments

@webframp
Copy link

webframp commented Jan 6, 2016

Trying to install fonts from a cookbook as per the docs, this all I can get to:

  * windows_font[HackBold.ttf] action install[2016-01-06T00:00:30-05:00] INFO: Processing windows_font[HackBold.ttf] act
ion install (soundwave::default line 39)


    ================================================================================
    Error executing action `install` on resource 'windows_font[HackBold.ttf]'
    ================================================================================

    NoMethodError
    -------------
    undefined method `file' for nil:NilClass

    Resource Declaration:
    ---------------------
    # In C:/Users/sescriv2/.chef/local-mode-cache/cache/cookbooks/soundwave/recipes/default.rb

     39: windows_font "HackBold.ttf"
     40:

    Compiled Resource:
    ------------------
    # Declared in C:/Users/sescriv2/.chef/local-mode-cache/cache/cookbooks/soundwave/recipes/default.rb:39:in `from_file
'

    windows_font("HackBold.ttf") do
      action [:install]
      retries 0
      retry_delay 2
      default_guard_interpreter :default
      declared_type :windows_font
      cookbook_name "soundwave"
      recipe_name "default"
      file "HackBold.ttf"
    end
@mwrock mwrock closed this as completed in 97ed27b Jan 12, 2016
mwrock added a commit that referenced this issue Jan 12, 2016
fixes #324 copying font files before installing the font
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant