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

Allow specifying the FS package version #16

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions attributes/package.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
freeswitch-config-vanilla
)
end
default['freeswitch']['package']['version'] = nil
default['freeswitch']['package']['config_template'] = 'vanilla'

default['freeswitch']['package']['repo']['enable'] = true
Expand Down
2 changes: 1 addition & 1 deletion recipes/package.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
end

node['freeswitch']['package']['packages'].each do |pkg|
package pkg
package pkg, node['freeswitch']['package']['version']
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is valid....

package pkg do
  version node['freeswitch']['package']['version']
end

would be.

end

directory "/etc/freeswitch" do
Expand Down
2 changes: 2 additions & 0 deletions recipes/rayo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
freeswitch-config-rayo
)
end
node.default['freeswitch']['package']['version'] = nil
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is totally unnecessary.


node.default['freeswitch']['package']['config_template'] = 'rayo'
node.default['freeswitch']['source']['config_template'] = 'rayo'

Expand Down