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

Corrected subserver & added chdev/chfs #15

Closed
wants to merge 8 commits into from
Closed

Corrected subserver & added chdev/chfs #15

wants to merge 8 commits into from

Conversation

vfoucault
Copy link

This Pull request compile the previously created ones (and closed).

Fixed the subserver provider which wasn't working. It has some defects loading the inetd.conf resources and commands to create/update were wrong.
Corrected some issues also in the resource.

Added the following providers :

  • chdev : udpate AIX devices attributes
  • chfs: change AIX filesystem size (+/-)

updated the README.md to include some details about the providers.

vfoucault and others added 7 commits May 19, 2015 22:26
Line 38 : the regex cannot match lines with some extra commands & args for
the inetd entry
Line 39 : obviously, a correct line starting with a # is disabled, so (#
== # ) => true which should be false.
Line 91 : added the "-r inetd" to the command line
Strangly it appears that with required set to true, the recipe always
claims that the attribute is non present even with the correct value
=> Changed the way we load the current resource
=> corrected the way we update a already existing subserver
=> corrected the way we create a new subserver
=> fixe bug when your subserver has already been renamed
=> added accessor exists & already_exists_with_new_name
=> chdev : Change aix devices attributes
=> chfs : increase/decrease aix Filesystem size
=> user : work with aix users
=> group : work with aix groups
removed user & group has they don't belong here
Updated README.md to relfect changes.
attr_accessor :exists


# TODO:
Copy link
Contributor

Choose a reason for hiding this comment

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

Are there actually TODOs left?

This version handles the following cases :
`:enable` :
+ if the service name does not exists, create it with the supplied
parameters
+ if some parameter is missing, raise an error
+ if the service exists, update it
+ if some parameters are not compatible each others, raise an error
(sunrpc_udp // tcp)
+ it the service is not enabled, enable it.
@juliandunn
Copy link
Contributor

@vfoucault are you still working on this?

@ghost
Copy link

ghost commented Oct 21, 2015

@vfoucault chfs has to be included in a lvm/fs provider. We are working on it. chdev has been commited in another pull request. Can I close the pull request ? Or are you still working on it ?

@ghost ghost closed this Jun 25, 2016
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants